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
I have a set of Pa11y tests (run from pa11y-ci), each with a url and a set of actions to set fields, click elements, and wait for paths to change or other conditions. When I run/debug these tests, I often get messages like this, and then have to figure out which action caused the problem.
http://localhost:4200/some-path - Failed to run
Errors in http://localhost:4200/some-path:
• Error: Pa11y timed out (30000ms)
More informative messages would be nice, but for now I use screen capture every few actions to trace what happens. I think it would be convenient and not difficult to add an action that writes text to the console. Something like console log <message> or write text <message>. This could even be extended to console error <message> or write url or write field <selector>.
Does this seem worth doing? Thoughts on syntax?
The text was updated successfully, but these errors were encountered:
Thank you, @joeyciechanowicz. The debug flag works for pa11y but not pa11y-ci.
Should I propose adding it to pa11y-ci? (similar to #73)
A more general write action could have other uses, especially if it could extract info from a page.
I have a set of Pa11y tests (run from
pa11y-ci
), each with aurl
and a set ofactions
to set fields, click elements, and wait for paths to change or other conditions. When I run/debug these tests, I often get messages like this, and then have to figure out which action caused the problem.More informative messages would be nice, but for now I use
screen capture
every few actions to trace what happens. I think it would be convenient and not difficult to add an action that writes text to the console. Something likeconsole log <message>
orwrite text <message>
. This could even be extended toconsole error <message>
orwrite url
orwrite field <selector>
.Does this seem worth doing? Thoughts on syntax?
The text was updated successfully, but these errors were encountered: