You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The cypress runner shows that visit() loads the page and the data request is intercepted correctly.
However, pa11y() causes a separate data request which is not intercepted,
I assumed that pa11y would scan the current page, but I think cypress-audit passes the url to pa11y, which loads the url separately.
Is this summary correct?
Are there (straightforward) ways to intercept requests for pa11y?
Any other information that may help understanding the need
This link seems related, and suggests that puppeteer can do this with pa11y: pa11y/pa11y#454
The text was updated successfully, but these errors were encountered:
What would you like to see in the library?
A way to use
cypress-audit
andpa11y
withcy.intercept()
and responses.Why?
I use
cypress-audit
andpa11y
in E2E tests, and they work well. Thank you!However,
pa11y
does not seem to usecy.intercept()
with (static) responses.For example (adapted & simplified from my actual code)
The cypress runner shows that
visit()
loads the page and the data request is intercepted correctly.However,
pa11y()
causes a separate data request which is not intercepted,I assumed that pa11y would scan the current page, but I think
cypress-audit
passes the url topa11y
, which loads the url separately.Any other information that may help understanding the need
This link seems related, and suggests that
puppeteer
can do this withpa11y
:pa11y/pa11y#454
The text was updated successfully, but these errors were encountered: