1
0

fix(i18n): adjust tests from 34780daab0

This commit is contained in:
kolaente
2024-05-24 15:04:51 +02:00
parent 536047c4c4
commit 2e298ffc11
4 changed files with 12 additions and 12 deletions

View File

@ -27,7 +27,7 @@ describe('Link shares', () => {
cy.get('h1.title')
.should('contain', project.title)
cy.get('input.input[placeholder="Add a new task..."')
cy.get('input.input[placeholder="Add a task..."')
.should('not.exist')
cy.get('.tasks')
.should('contain', tasks[0].title)
@ -42,7 +42,7 @@ describe('Link shares', () => {
cy.get('h1.title')
.should('contain', project.title)
cy.get('input.input[placeholder="Add a new task..."')
cy.get('input.input[placeholder="Add a task..."')
.should('not.exist')
cy.get('.tasks')
.should('contain', tasks[0].title)

View File

@ -14,12 +14,12 @@ describe('Team', () => {
const newTeamName = 'New Team'
cy.get('a.button')
.contains('Create a new team')
.contains('Create a team')
.click()
cy.url()
.should('contain', '/teams/new')
cy.get('.card-header-title')
.contains('Create a new team')
.contains('Create a team')
cy.get('input.input')
.type(newTeamName)
cy.get('.button')