Skip to content

Commit

Permalink
Fix flaky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wlsf82 committed Dec 5, 2023
1 parent 6974811 commit 2de1005
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/mealSuggestion.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ describe('Meal suggestion', () => {
cy.step('Assert salad is visible')
cy.get('@mealName')
.should('be.visible')
.and('contain', ' (salada)')
.and('contain', ' (salada')
cy.get('@ingredientsLabel').should('be.visible')
cy.get('@ingredients')
.should('be.visible')
Expand Down Expand Up @@ -215,7 +215,7 @@ describe('Meal suggestion', () => {
cy.step('Assert that soup is still visible')
cy.get('@mealName')
.should('be.visible')
.and('contain', ' (sopa)')
.and('contain', ' (sopa')
cy.get('@ingredientsLabel').should('be.visible')
cy.get('@ingredients')
.should('be.visible')
Expand Down

0 comments on commit 2de1005

Please sign in to comment.