Skip to content

Commit

Permalink
Bump cypress from 13.17.0 to 14.0.3 (#124)
Browse files Browse the repository at this point in the history
* Bump cypress from 13.17.0 to 14.0.3

Bumps [cypress](https://github.com/cypress-io/cypress) from 13.17.0 to 14.0.3.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](cypress-io/cypress@v13.17.0...v14.0.3)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Moving CA a11y site test to its own context because of changes to https://docs.cypress.io/app/references/changelog#14-0-0.

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Daniel Mundra <[email protected]>
  • Loading branch information
dependabot[bot] and dmundra authored Feb 13, 2025
1 parent 282c4e3 commit 17145ff
Show file tree
Hide file tree
Showing 4 changed files with 261 additions and 149 deletions.
15 changes: 9 additions & 6 deletions cypress/e2e/3-civicactions-examples/a11y.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,23 @@ import 'x2js'
const X2JS = require('x2js')
const path = require('path')

context('Accessibility', () => {
context('CA home site accessibility', () => {
const casite = 'https://civicactions.com/'
const a11ysite = 'https://accessibility.civicactions.com/'

beforeEach(() => {
cy.visit(a11ysite)
})

it('homesite should have one accessible failure', () => {
cy.visit(casite)
cy.injectAxe()
// View example failure in the GUI.
cy.checkA11y(null, null, null, true)
})
})

context('CA a11y site accessibility', () => {
const a11ysite = 'https://accessibility.civicactions.com/'

beforeEach(() => {
cy.visit(a11ysite)
})

it('a11y site should be accessible with default axe options', () => {
cy.injectAxe()
Expand Down
Loading

0 comments on commit 17145ff

Please sign in to comment.