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
{{ message }}
This repository has been archived by the owner on May 30, 2023. It is now read-only.
I am using pa11y to perform accessibility testing on my webpages, pa11y invokes phantomjs internally to perform Testing. However, phantomjs just waits for 30 seconds and in case there is no response (which is my case as I guess my webpage is taking more than 30 seconds) returns an empty result.
This issue is happening only on my Jenkins Server (Linux), where I am installing the 2 npm modules at runtime:
pa11y@4.0.1
phantomjs@2.1.7
Also tried phantomjs2@2.2.0
The same URL is working fine on my local Windows 7 machine (Maybe because the response is faster on local m/c)
I tried running a different url on Jenkins Server and got the results successfully as the response was fast.
Here is my Jenkins report on enabling pa11y's logs:
PhantomJS browser created
PhantomJS page created
Opening "My_Site_Url" in PhantomJS
PhantomJS page closed
PhantomJS browser exited
And then finally the below error, since the result object was empty:
Cannot read property 'length' of undefined
running firefox (v44) on Windows 7
TypeError: Cannot read property 'length' of undefined
at Object.buildMarkdown [as process] (/apps/paoworkspace/workspace/pao-savings-cwa-feature-bdd/node_modules/pa11y/reporter/markdown.js:34:13)
at /apps/paoworkspace/workspace/pao-savings-cwa-feature-bdd/tests/acceptance/wdio/features/step_definitions/Accessibility-Standard-Check.js:83:50
at /apps/paoworkspace/workspace/pao-savings-cwa-feature-bdd/node_modules/pa11y/node_modules/truffler/lib/truffler.js:182:11
at /apps/paoworkspace/workspace/pao-savings-cwa-feature-bdd/node_modules/pa11y/node_modules/async/lib/async.js:697:13
at /apps/paoworkspace/workspace/pao-savings-cwa-feature-bdd/node_modules/pa11y/node_modules/async/lib/async.js:52:16
at /apps/paoworkspace/workspace/pao-savings-cwa-feature-bdd/node_modules/pa11y/node_modules/async/lib/async.js:267:21
at /apps/paoworkspace/workspace/pao-savings-cwa-feature-bdd/node_modules/pa11y/node_modules/async/lib/async.js:44:16
at /apps/paoworkspace/workspace/pao-savings-cwa-feature-bdd/node_modules/pa11y/node_modules/async/lib/async.js:694:17
at /apps/paoworkspace/workspace/pao-savings-cwa-feature-bdd/node_modules/pa11y/node_modules/async/lib/async.js:173:37
at /apps/paoworkspace/workspace/pao-savings-cwa-feature-bdd/node_modules/pa11y/node_modules/truffler/lib/truffler.js:146:13
Is there any way I can increase this Timeout (since I am not directly using phantomjs object rather it gets invoked automatically from pa11y) so that I can check if this is a timing issue only and not something else ?
Thanks
Simit
The text was updated successfully, but these errors were encountered:
Due to our very limited maintenance capacity, we need to prioritize our development focus on other tasks. Therefore, this issue will be automatically closed (see #15395 for more details). In the future, if we see the need to attend to this issue again, then it will be reopened. Thank you for your contribution!
Hi,
I am using pa11y to perform accessibility testing on my webpages, pa11y invokes phantomjs internally to perform Testing. However, phantomjs just waits for 30 seconds and in case there is no response (which is my case as I guess my webpage is taking more than 30 seconds) returns an empty result.
This issue is happening only on my Jenkins Server (Linux), where I am installing the 2 npm modules at runtime:
pa11y@4.0.1
phantomjs@2.1.7
Also tried phantomjs2@2.2.0
The same URL is working fine on my local Windows 7 machine (Maybe because the response is faster on local m/c)
I tried running a different url on Jenkins Server and got the results successfully as the response was fast.
Here is my Jenkins report on enabling pa11y's logs:
PhantomJS browser created
PhantomJS page created
Opening "My_Site_Url" in PhantomJS
PhantomJS page closed
PhantomJS browser exited
And then finally the below error, since the result object was empty:
Cannot read property 'length' of undefined
running firefox (v44) on Windows 7
TypeError: Cannot read property 'length' of undefined
at Object.buildMarkdown [as process] (/apps/paoworkspace/workspace/pao-savings-cwa-feature-bdd/node_modules/pa11y/reporter/markdown.js:34:13)
at /apps/paoworkspace/workspace/pao-savings-cwa-feature-bdd/tests/acceptance/wdio/features/step_definitions/Accessibility-Standard-Check.js:83:50
at /apps/paoworkspace/workspace/pao-savings-cwa-feature-bdd/node_modules/pa11y/node_modules/truffler/lib/truffler.js:182:11
at /apps/paoworkspace/workspace/pao-savings-cwa-feature-bdd/node_modules/pa11y/node_modules/async/lib/async.js:697:13
at /apps/paoworkspace/workspace/pao-savings-cwa-feature-bdd/node_modules/pa11y/node_modules/async/lib/async.js:52:16
at /apps/paoworkspace/workspace/pao-savings-cwa-feature-bdd/node_modules/pa11y/node_modules/async/lib/async.js:267:21
at /apps/paoworkspace/workspace/pao-savings-cwa-feature-bdd/node_modules/pa11y/node_modules/async/lib/async.js:44:16
at /apps/paoworkspace/workspace/pao-savings-cwa-feature-bdd/node_modules/pa11y/node_modules/async/lib/async.js:694:17
at /apps/paoworkspace/workspace/pao-savings-cwa-feature-bdd/node_modules/pa11y/node_modules/async/lib/async.js:173:37
at /apps/paoworkspace/workspace/pao-savings-cwa-feature-bdd/node_modules/pa11y/node_modules/truffler/lib/truffler.js:146:13
Is there any way I can increase this Timeout (since I am not directly using phantomjs object rather it gets invoked automatically from pa11y) so that I can check if this is a timing issue only and not something else ?
Thanks
Simit
The text was updated successfully, but these errors were encountered: