add eslint for cypress tests

Signed-off-by: Simon Hötten <s+git@hoetten.org>
This commit is contained in:
Simon Hötten
2022-11-10 21:03:20 +01:00
committed by Julius Härtl
parent 50ca4de351
commit 584675db21
8 changed files with 42 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
import { randHash } from '../utils'
import { randHash } from '../utils/index.js'
const randUser = randHash()
describe('Deck dashboard', function() {
@@ -14,8 +14,8 @@ describe('Deck dashboard', function() {
it('Can show the right title on the dashboard', function() {
cy.get('.board-title h2')
.should('have.length', 1).first()
.should('have.text', 'Upcoming cards')
.should('have.length', 1).first()
.should('have.text', 'Upcoming cards')
})
it('Can see the default "Personal Board" created for user by default', function() {