Skip to content

Commit

Permalink
fix: e2e test broken
Browse files Browse the repository at this point in the history
  • Loading branch information
steve-lebleu committed Mar 15, 2024
1 parent 5be7050 commit 3ade49b
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,11 @@ jobs:
- name: Run E2E tests
run: npm run ci:dev & npm run ci:e2e
env:
CI: true
CI: true
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: build-files-e2e
path: |
build
retention-days: 3
2 changes: 1 addition & 1 deletion cypress/e2e/kompleter.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe("Kompletr.js", function() {
});

it ("should return n results with a value length >= 2", function() {
cy.get('#auto-complete').click().type('Te').then(() => {
cy.get('#auto-complete').click().type('Ter').then(() => {
cy.get('.item--result').its('length').should('be.gte', 0);
});
});
Expand Down

0 comments on commit 3ade49b

Please sign in to comment.