blob: 453619563107dbb122ef796c5b6eb5070799fa7d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
import groupData from "../fixtures/groupData.json";
describe("Groups", () => {
beforeEach(() => {
cy.setCookie(
"cypressConfigOverride",
JSON.stringify({
general: {
show_public_event_list: true,
},
}),
);
cy.createGroup(groupData, true);
});
it("should be visible in the public group list", function () {
cy.setCookie(
"cypressConfigOverride",
JSON.stringify({
general: {
show_public_event_list: true,
},
}),
);
cy.visit("/");
cy.get("#groupsTab").click();
cy.get("#eventGroups").should("contain", groupData.eventGroupName);
});
});
|