mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-04-06 01:25:33 +00:00
a little linting
This commit is contained in:
parent
1ecd8fbc2f
commit
0317c634d6
@ -1,17 +1,6 @@
|
|||||||
/// <reference types="cypress" />
|
/// <reference types="cypress" />
|
||||||
|
|
||||||
describe('Utopia Map Login Form Elements', () => {
|
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(() => {
|
beforeEach(() => {
|
||||||
cy.clearCookies()
|
cy.clearCookies()
|
||||||
|
|||||||
@ -15,8 +15,7 @@
|
|||||||
// automatically serving support files with the 'supportFile' configuration option.
|
// automatically serving support files with the 'supportFile' configuration option.
|
||||||
|
|
||||||
// Global exception handler
|
// Global exception handler
|
||||||
Cypress.on('uncaught:exception', (err, _runnable) => {
|
Cypress.on('uncaught:exception', (err) => {
|
||||||
// eslint-disable-next-line no-console
|
|
||||||
console.log('Uncaught exception:', err.message)
|
console.log('Uncaught exception:', err.message)
|
||||||
// returning false here prevents Cypress from failing the test
|
// returning false here prevents Cypress from failing the test
|
||||||
return false
|
return false
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user