Comments (11)
@martinfer-newsuk It just started working on the project where I had the issue. Now i have the same issue on another project, so I guess i just have to wait until it resolves it self again :)
from cypress-axe.
I'm unable to find an issue within the page that's being scanned when we run into this problem. When I scan the page with the axe DevTools Chrome extension (axe-core
version 4.7.1) no issues are identified. But, when I use cypress-axe
with axe-core
version 4.7.1 I get this time out error.
We're using Cypress 12.8.1 in Chrome 113 and cypress-axe
1.4.0, running on macOS 13.3.1 (a). We are trying to upgrade from axe-core
version 4.4.2 (where we are not experiencing this problem) to version 4.7.1.
from cypress-axe.
@martinfer-newsuk Sadly, I have not been able to solve this.
from cypress-axe.
I just discovered that there are some scenarios this error occurs. Specifically a test where i waited for a named intercept. If i moved the cy.checkA11y() to the next test (which had the same rendered html), everything was fine. Just a tip.
from cypress-axe.
Thanks for the replies @frodehansen2 and @todd-m-kemp. The workaround of increasing the defaultCommandTimeout
solved the errors we were having
from cypress-axe.
I only see this behaviour when the scan finds something wrong so far - I corrected an obvious issue on a new page and this error went away. I'm not sure what versioning is causing the difference in behaviour because we've recently done some upgrades to major dependencies across the board. We've been on the latest version of cypress-axe for awhile but we're now on Cypress v12.11.
from cypress-axe.
Any updates on this?
from cypress-axe.
@frodehansen2 @todd-m-kemp were you able to solve this? I've been running into this same issue 😞
from cypress-axe.
@todd-m-kemp guess I'll increase the defaultCommandTimeout
on the test to avoid the error. Thanks for the response 🙏
from cypress-axe.
Thanks for the replies @frodehansen2 and @todd-m-kemp. The workaround of increasing the
defaultCommandTimeout
solved the errors we were having
That's good to hear! I just don't want to take that approach in our projects. 😂 Patiently awaiting a proper resolution here...
from cypress-axe.
Related Issues (20)
- Region landmark errors
- "Links must have discernible text" on asynchronous content HOT 2
- Update plugin to be compatible with Cypress 11 HOT 3
- Resolved path for `axe.min.js` incorrect when using Cypress Component Testing (with Vite) and npm workspaces HOT 1
- Update plugin to be compatible with Cypress 12 HOT 1
- `aria-expanded` property seems to be missing, but appears in devtools HOT 1
- TypeError: Cannot read property 'run' of undefined at Context.eval
- Question: How to skip failures for some specific tags and throw errors for other tags? HOT 1
- how to config checkA11y for all tests HOT 1
- How to use the cypress-axe with component-testing (angular) HOT 7
- Configure includedImpacts in cy.configureAxe instead of cy.checkA11y
- TypeError : Cannot read properties of undefined (reading 'run') HOT 3
- Documentation: missing configuration documentation
- Error while running the plugin in cypress HOT 2
- Update @cypress peer dependency with new version HOT 1
- consolidated a11y report
- Exclude color-contrast for disabled fields using disabled attribute.
- ReferenceError: require is not defined HOT 1
- The 'task' event has not been registered in the setupNodeEvents method. You must register it before using cy.task() HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cypress-axe.