From 95461b1de85dd67c46258a346739dd67f995218c Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Tue, 21 Feb 2023 17:31:50 +0100 Subject: [PATCH] Remove obsolete `cy.server` calls --- client/cypress/e2e/e2e/users/coupon.spec.js | 4 ---- .../e2e/frontend/objectives/objectives-visibility.spec.js | 1 - .../cypress/e2e/frontend/read-only/school-class-team.spec.js | 1 - 3 files changed, 6 deletions(-) diff --git a/client/cypress/e2e/e2e/users/coupon.spec.js b/client/cypress/e2e/e2e/users/coupon.spec.js index bb8061cd..251c364b 100644 --- a/client/cypress/e2e/e2e/users/coupon.spec.js +++ b/client/cypress/e2e/e2e/users/coupon.spec.js @@ -11,10 +11,6 @@ const redeemCoupon = (coupon) => { }; describe('Email Verification', () => { - beforeEach(() => { - cy.server(); - }); - it('forwards to homepage if confirmation key is correct', () => { cy.viewport('macbook-15'); cy.mockGraphql({ diff --git a/client/cypress/e2e/frontend/objectives/objectives-visibility.spec.js b/client/cypress/e2e/frontend/objectives/objectives-visibility.spec.js index 3281d98c..49ef4546 100644 --- a/client/cypress/e2e/frontend/objectives/objectives-visibility.spec.js +++ b/client/cypress/e2e/frontend/objectives/objectives-visibility.spec.js @@ -68,7 +68,6 @@ const operations = { describe('Objective Visibility', () => { beforeEach(() => { - cy.server(); cy.task('getSchema').then((schema) => { cy.mockGraphql({ schema, diff --git a/client/cypress/e2e/frontend/read-only/school-class-team.spec.js b/client/cypress/e2e/frontend/read-only/school-class-team.spec.js index 5a1c71c5..beccb525 100644 --- a/client/cypress/e2e/frontend/read-only/school-class-team.spec.js +++ b/client/cypress/e2e/frontend/read-only/school-class-team.spec.js @@ -51,7 +51,6 @@ const checkSchoolClassTeamReadOnly = (readOnly) => { describe('School Class and Team Management - Read only', () => { beforeEach(() => { cy.fakeLogin('rachel.green', 'test'); - cy.server(); cy.task('getSchema').then((schema) => { cy.mockGraphql({ schema,