Fix tests
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
kolaente 2021-01-21 22:49:05 +01:00
parent 764a45ea6f
commit 7734c8d80d
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
3 changed files with 6 additions and 6 deletions

View File

@ -25,12 +25,12 @@ describe('Lists', () => {
.click()
cy.url()
.should('contain', '/namespaces/1/list')
cy.get('h3')
cy.get('.card-header-title')
.contains('Create a new list')
cy.get('input.input')
.type('New List')
cy.get('.button')
.contains('Add')
.contains('Create')
.click()
cy.wait(1000) // Waiting until the request to create the new list is done

View File

@ -26,12 +26,12 @@ describe('Namepaces', () => {
.click()
cy.url()
.should('contain', '/namespaces/new')
cy.get('h3')
cy.get('.card-header-title')
.should('contain', 'Create a new namespace')
cy.get('input.input')
.type('New Namespace')
cy.get('.button')
.contains('Add')
.contains('Create')
.click()
cy.url()
.should('contain', '/namespaces')

View File

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