Fix tests after changing button classes
This commit is contained in:
parent
4f872c92d8
commit
0afd5005a4
4 changed files with 5 additions and 5 deletions
|
@ -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()
|
||||||
|
|
||||||
|
|
|
@ -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()
|
||||||
|
|
|
@ -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()
|
||||||
|
|
||||||
|
|
|
@ -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()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue