diff --git a/cypress/e2e/authentification/login.form-elements.cy.ts b/cypress/e2e/authentification/login.form-elements.cy.ts index af3ab64e..ac32b1cb 100644 --- a/cypress/e2e/authentification/login.form-elements.cy.ts +++ b/cypress/e2e/authentification/login.form-elements.cy.ts @@ -1,17 +1,6 @@ /// describe('Utopia Map Login Form Elements', () => { - // TODO: set this data different - const _testData = { - validUser: { - email: Cypress.env('validEmail'), - password: Cypress.env('validPassword') - }, - invalidUser: { - email: Cypress.env('invalidEmail'), - password: Cypress.env('invalidPassword') - } - } beforeEach(() => { cy.clearCookies() diff --git a/cypress/support/e2e.ts b/cypress/support/e2e.ts index a3a9c3d0..3adacf0b 100644 --- a/cypress/support/e2e.ts +++ b/cypress/support/e2e.ts @@ -15,8 +15,7 @@ // automatically serving support files with the 'supportFile' configuration option. // Global exception handler -Cypress.on('uncaught:exception', (err, _runnable) => { - // eslint-disable-next-line no-console +Cypress.on('uncaught:exception', (err) => { console.log('Uncaught exception:', err.message) // returning false here prevents Cypress from failing the test return false