Skip to content

Commit

Permalink
Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
wlsf82 committed May 11, 2023
1 parent 59b2bb2 commit 8b0124a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cypress/e2e/mealSuggestion.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ describe('Meal suggestion', () => {
cy.step('Click "Other suggestion" button')
cy.get('@button')
.click()
cy.get('@button')
.blur()

cy.step('Assert that meal and ingredients are visible')
Expand Down Expand Up @@ -78,6 +79,7 @@ describe('Meal suggestion', () => {
cy.get('@searchField').type('Ramen')
cy.get('@searchButton')
.click()
cy.get('@searchButton')
.blur()

cy.step('Assert specific meal is shown')
Expand All @@ -104,6 +106,7 @@ describe('Meal suggestion', () => {
cy.get('@searchField').type('pepino ')
cy.get('@searchButton')
.click()
cy.get('@searchButton')
.blur()

cy.step('Assert that trim works')
Expand All @@ -126,6 +129,7 @@ describe('Meal suggestion', () => {
cy.step('Type meal and press ENTER')
cy.get('@searchField')
.type('Ramen{enter}')
cy.get('@searchField')
.blur()

cy.step('Assert that the correct meal is shown')
Expand All @@ -151,6 +155,7 @@ describe('Meal suggestion', () => {
cy.step('Type part of a meal and press ENTER')
cy.get('@searchField')
.type('Ram{enter}')
cy.get('@searchField')
.blur()

cy.step('Assert that the correct meal is shown')
Expand All @@ -177,6 +182,7 @@ describe('Meal suggestion', () => {
cy.get('@filterSelectField').select('Sopas')
cy.get('@searchField')
.type('Ramen{enter}')
cy.get('@searchField')
.blur()

cy.step('Assert that specifc soup is shown')
Expand All @@ -203,6 +209,7 @@ describe('Meal suggestion', () => {
cy.get('@filterSelectField').select('Sopas')
cy.get('@searchField')
.type('Iron Energy{enter}')
cy.get('@searchField')
.blur()

cy.step('Assert that soup is still visible')
Expand Down

0 comments on commit 8b0124a

Please sign in to comment.