Skip to content

Commit

Permalink
Fix a11
Browse files Browse the repository at this point in the history
  • Loading branch information
sneridagh committed Mar 22, 2024
1 parent 3519fe5 commit f91c7b6
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ jobs:

# working-directory: backend

- run: make test-acceptance-headless-a11y
- run: CYPRESS_a11y=1 make test-acceptance-headless-a11y

# Upload Cypress screenshots
- uses: actions/upload-artifact@v3
Expand Down
10 changes: 9 additions & 1 deletion cypress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ module.exports = defineConfig({
viewportWidth: 1280,
e2e: {
baseUrl: 'http://localhost:3000',
specPattern: './cypress/tests/*.cy.{js,jsx}',
specPattern: 'cypress/tests/**/*.cy.{js,jsx,ts,tsx}',
setupNodeEvents(on, config) {
on('task', {
table(message) {
console.table(message);
return null;
},
});
},
},
});

0 comments on commit f91c7b6

Please sign in to comment.