diff --git a/client/cypress/fixtures/schema.json b/client/cypress/fixtures/schema.json index c72fcdd8..a1050b0f 100644 --- a/client/cypress/fixtures/schema.json +++ b/client/cypress/fixtures/schema.json @@ -1,5 +1,4 @@ { - "data": { "__schema": { "queryType": { "name": "Query" @@ -15970,5 +15969,4 @@ } ] } - } -} \ No newline at end of file +} diff --git a/client/cypress/integration/coupon.spec.js b/client/cypress/integration/coupon.spec.js index bea52b59..698980ed 100644 --- a/client/cypress/integration/coupon.spec.js +++ b/client/cypress/integration/coupon.spec.js @@ -25,7 +25,7 @@ describe('Email Verifcation', () => { cy.visit('/license-activation'); cy.redeemCoupon('12345asfd'); - cy.get('finishTest') + cy.get('body').contains('Neues Wissen erwerben'); }); diff --git a/client/cypress/integration/local-login.spec.js b/client/cypress/integration/local-login.spec.js index f445cda1..078fa5e4 100644 --- a/client/cypress/integration/local-login.spec.js +++ b/client/cypress/integration/local-login.spec.js @@ -12,7 +12,7 @@ describe('The Login Page', () => { const username = ''; const password = 'test'; - cy.visit('/old-login'); + cy.visit('/beta-login'); cy.login(username, password); cy.get('[data-cy=email-local-errors]').contains('E-Mail ist ein Pflichtfeld'); }); @@ -21,7 +21,7 @@ describe('The Login Page', () => { const username = 'test'; const password = ''; - cy.visit('/old-login'); + cy.visit('/beta-login'); cy.login(username, password); cy.get('[data-cy=password-local-errors]').contains('Passwort ist ein Pflichtfeld'); }); @@ -30,7 +30,7 @@ describe('The Login Page', () => { const username = 'test'; const password = '12345'; - cy.visit('/old-login'); + cy.visit('/beta-login'); cy.login(username, password); cy.get('[data-cy=login-error]').contains('Die E-Mail oder das Passwort ist falsch. Bitte versuchen Sie nochmals.'); }); diff --git a/client/cypress/support/commands.js b/client/cypress/support/commands.js index 5036955a..6d8dcd3d 100644 --- a/client/cypress/support/commands.js +++ b/client/cypress/support/commands.js @@ -54,7 +54,7 @@ Cypress.Commands.add('apolloLogin', (username, password) => { // todo: replace with apollo call Cypress.Commands.add("login", (username, password, visitLogin = false) => { if (visitLogin) { - cy.visit('/old-login'); + cy.visit('/beta-login'); } if (username != '') {