Fix tests after changing button classes

This commit is contained in:
kolaente 2021-01-17 14:25:50 +01:00
parent 4f872c92d8
commit 0afd5005a4
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
4 changed files with 5 additions and 5 deletions

View file

@ -29,7 +29,7 @@ describe('Lists', () => {
.contains('Create a new list') .contains('Create a new list')
cy.get('input.input') cy.get('input.input')
.type('New List') .type('New List')
cy.get('button.is-success') cy.get('button')
.contains('Add') .contains('Add')
.click() .click()

View file

@ -30,7 +30,7 @@ describe('Namepaces', () => {
.should('contain', 'Create a new namespace') .should('contain', 'Create a new namespace')
cy.get('input.input') cy.get('input.input')
.type('New Namespace') .type('New Namespace')
cy.get('button.is-success') cy.get('button')
.contains('Add') .contains('Add')
.click() .click()
cy.url() cy.url()

View file

@ -17,7 +17,7 @@ describe('Team', () => {
.contains('Create a new team') .contains('Create a new team')
cy.get('input.input') cy.get('input.input')
.type('New Team') .type('New Team')
cy.get('button.is-success') cy.get('button')
.contains('Add') .contains('Add')
.click() .click()

View file

@ -28,7 +28,7 @@ describe('Task', () => {
cy.visit('/lists/1/list') cy.visit('/lists/1/list')
cy.get('input.input[placeholder="Add a new task..."') cy.get('input.input[placeholder="Add a new task..."')
.type('New Task') .type('New Task')
cy.get('button.button.is-success') cy.get('button.button')
.contains('Add') .contains('Add')
.click() .click()
cy.get('.tasks .task .tasktext') cy.get('.tasks .task .tasktext')
@ -44,7 +44,7 @@ describe('Task', () => {
.should('not.exist') .should('not.exist')
cy.get('input.input[placeholder="Add a new task..."') cy.get('input.input[placeholder="Add a new task..."')
.type('New Task') .type('New Task')
cy.get('button.button.is-success') cy.get('button.button')
.contains('Add') .contains('Add')
.click() .click()