Skip to content

Commit

Permalink
test: update cypress test to new label
Browse files Browse the repository at this point in the history
  • Loading branch information
ismay committed Feb 15, 2024
1 parent 9269028 commit 169346b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cypress/integration/add-job/back-to-all-jobs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Then('the list route will be loaded', () => {
})

Then('the user will be asked if they want to discard their changes', () => {
cy.findByText('Are you sure you want to discard your changes?').should(
cy.findByText('Discard unsaved changes?').should(
'exist'
)
})
2 changes: 1 addition & 1 deletion cypress/integration/add-queue/back-to-all-jobs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Then('the list route will be loaded', () => {
})

Then('the user will be asked if they want to discard their changes', () => {
cy.findByText('Are you sure you want to discard your changes?').should(
cy.findByText('Discard unsaved changes?').should(
'exist'
)
})
2 changes: 1 addition & 1 deletion cypress/integration/edit-job/back-to-all-jobs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Then('the list route will be loaded', () => {
})

Then('the user will be asked if they want to discard their changes', () => {
cy.findByText('Are you sure you want to discard your changes?').should(
cy.findByText('Discard unsaved changes?').should(
'exist'
)
})
2 changes: 1 addition & 1 deletion cypress/integration/edit-queue/back-to-all-jobs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Then('the list route will be loaded', () => {
})

Then('the user will be asked if they want to discard their changes', () => {
cy.findByText('Are you sure you want to discard your changes?').should(
cy.findByText('Discard unsaved changes?').should(
'exist'
)
})

0 comments on commit 169346b

Please sign in to comment.