Skip to content

Commit

Permalink
Break tests to check artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
stuart-bradley committed Feb 19, 2024
1 parent 47e37ff commit 931fd6f
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions .github/workflows/e2e_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,17 @@ jobs:
- name: Run Cypress Tests
run: npm run cypress:ci

- name: Upload Photo Artifacts
uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots
path: cypress/screenshots

- name: Upload Video Artifacts
uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos
path: cypress/videos
2 changes: 1 addition & 1 deletion cypress/e2e/app.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe("BoardForm", () => {
ALGORITHM_RANDOM,
);
cy.get('[data-cy="rand-algorithm-selector"] option').should(
"not.have.value",
"have.value",
ALGORITHM_COASTAL,
);

Expand Down

0 comments on commit 931fd6f

Please sign in to comment.