Remove obsolete `cy.server` calls
This commit is contained in:
parent
eda40bf7b7
commit
95461b1de8
|
|
@ -11,10 +11,6 @@ const redeemCoupon = (coupon) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
describe('Email Verification', () => {
|
describe('Email Verification', () => {
|
||||||
beforeEach(() => {
|
|
||||||
cy.server();
|
|
||||||
});
|
|
||||||
|
|
||||||
it('forwards to homepage if confirmation key is correct', () => {
|
it('forwards to homepage if confirmation key is correct', () => {
|
||||||
cy.viewport('macbook-15');
|
cy.viewport('macbook-15');
|
||||||
cy.mockGraphql({
|
cy.mockGraphql({
|
||||||
|
|
|
||||||
|
|
@ -68,7 +68,6 @@ const operations = {
|
||||||
|
|
||||||
describe('Objective Visibility', () => {
|
describe('Objective Visibility', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
cy.server();
|
|
||||||
cy.task('getSchema').then((schema) => {
|
cy.task('getSchema').then((schema) => {
|
||||||
cy.mockGraphql({
|
cy.mockGraphql({
|
||||||
schema,
|
schema,
|
||||||
|
|
|
||||||
|
|
@ -51,7 +51,6 @@ const checkSchoolClassTeamReadOnly = (readOnly) => {
|
||||||
describe('School Class and Team Management - Read only', () => {
|
describe('School Class and Team Management - Read only', () => {
|
||||||
beforeEach(() => {
|
beforeEach(() => {
|
||||||
cy.fakeLogin('rachel.green', 'test');
|
cy.fakeLogin('rachel.green', 'test');
|
||||||
cy.server();
|
|
||||||
cy.task('getSchema').then((schema) => {
|
cy.task('getSchema').then((schema) => {
|
||||||
cy.mockGraphql({
|
cy.mockGraphql({
|
||||||
schema,
|
schema,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue