diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index 8786f9ebab1..bb21af64b7f 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -1,4 +1,4 @@ -name: Linting & e2e tests +name: 🧪 Linting & End to End tests on: push @@ -16,7 +16,7 @@ jobs: runTests: false - name: Lint with ESLint run: yarn lint - - name: Run e2e tests + - name: Run End to End tests uses: cypress-io/github-action@v6 with: # we have already installed all dependencies above diff --git a/tests/e2e/spec.cy.js b/tests/e2e/spec.cy.js index 2ba53aada5f..d5ee724d9ab 100644 --- a/tests/e2e/spec.cy.js +++ b/tests/e2e/spec.cy.js @@ -50,6 +50,8 @@ describe('Basic tests', () => { cy.get('[data-name="product-not-found-alert"]').should('have.length', 0) cy.get('[data-name="category-not-found-alert"]').should('have.length', 0) cy.get('[data-name="price-card"]').should('have.length', 1) + cy.contains('0.67') + cy.contains('3.83 / kg') cy.contains('Load more').should('not.exist') }) @@ -84,6 +86,8 @@ describe('Basic tests', () => { cy.get('[data-name="product-not-found-alert"]').should('have.length', 0) cy.get('[data-name="category-not-found-alert"]').should('have.length', 0) cy.get('[data-name="price-card"]').should('have.length', 2) + cy.contains('4.00 / unit') + cy.contains('3.00 / kg') cy.contains('Load more').should('not.exist') })