Fix tests after changing button classes
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
4f872c92d8
commit
0afd5005a4
@ -29,7 +29,7 @@ describe('Lists', () => {
|
||||
.contains('Create a new list')
|
||||
cy.get('input.input')
|
||||
.type('New List')
|
||||
cy.get('button.is-success')
|
||||
cy.get('button')
|
||||
.contains('Add')
|
||||
.click()
|
||||
|
||||
|
@ -30,7 +30,7 @@ describe('Namepaces', () => {
|
||||
.should('contain', 'Create a new namespace')
|
||||
cy.get('input.input')
|
||||
.type('New Namespace')
|
||||
cy.get('button.is-success')
|
||||
cy.get('button')
|
||||
.contains('Add')
|
||||
.click()
|
||||
cy.url()
|
||||
|
@ -17,7 +17,7 @@ describe('Team', () => {
|
||||
.contains('Create a new team')
|
||||
cy.get('input.input')
|
||||
.type('New Team')
|
||||
cy.get('button.is-success')
|
||||
cy.get('button')
|
||||
.contains('Add')
|
||||
.click()
|
||||
|
||||
|
@ -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 New Issue
Block a user