e2e test: Move seedQueries so call can never be repeated (#6556)

This commit is contained in:
RachelElysia 2022-07-11 09:59:45 -04:00 committed by GitHub
parent af0cf9b703
commit 61d5eb671c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,6 +33,7 @@ describe("Teams flow (seeded)", () => {
cy.setup();
cy.loginWithCySession();
cy.seedPremium();
cy.seedQueries();
cy.viewport(1200, 660);
});
after(() => {
@ -86,7 +87,6 @@ describe("Teams flow (seeded)", () => {
describe("Manage schedules page", () => {
beforeEach(() => {
cy.loginWithCySession();
cy.seedQueries();
cy.visit("/schedule/manage");
});
it("adds a query to team schedule", () => {