component-driven / component-driven/cypress-axe

cy.checkA11y() is accepting only 2 arguments I need to set skipFailures to 'True'

Open
#39 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
641
Forks
90
Avg merge
6h 8m
Merged PRs (30d)
1

Description

I need to disables assertions based on violations and only logs violations to a report, so was trying to pass 4 arguments to cy.checka11y() as described by @avanslaars , but got an error

0-2 arguments expected, got 4

package.json
"devDependencies": {
"@type/cypress-axe":"0.4.0"
"cypress-axe": "^0.8.1"
}

#https://github.com/avanslaars/cypress-axe

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with package.json and the cy.checkA11y() entry point, comparing the installed @type/cypress-axe 0.4.0 and cypress-axe 0.8.1 behavior with the linked usage description. Reproduce the four-argument TypeScript error and verify that configuring skipFailures allows violations to be logged without failing assertions.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, typescript
Domain
accessibility, testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.