Fix tests after changing button classes
This commit is contained in:
parent
4f872c92d8
commit
0afd5005a4
4 changed files with 5 additions and 5 deletions
|
|
@ -28,7 +28,7 @@ describe('Task', () => {
|
|||
cy.visit('/lists/1/list')
|
||||
cy.get('input.input[placeholder="Add a new task..."')
|
||||
.type('New Task')
|
||||
cy.get('button.button.is-success')
|
||||
cy.get('button.button')
|
||||
.contains('Add')
|
||||
.click()
|
||||
cy.get('.tasks .task .tasktext')
|
||||
|
|
@ -44,7 +44,7 @@ describe('Task', () => {
|
|||
.should('not.exist')
|
||||
cy.get('input.input[placeholder="Add a new task..."')
|
||||
.type('New Task')
|
||||
cy.get('button.button.is-success')
|
||||
cy.get('button.button')
|
||||
.contains('Add')
|
||||
.click()
|
||||
|
||||
|
|
|
|||
Reference in a new issue