Is there a way to authenticate users and test pages using pa11y-ci?
When running pa11y-ci, I typically use this command:
pa11y-ci --sitemap http://www.example.com/sitemap.xml --sitemap-find https --sitemap-replace http
I came across some helpful information on simulating user interaction with pa11y before testing.
For my Drupal setup, the login process involves the following steps:
"actions": [
'navigate to http://example.lndo.site/user/login'
'set field #edit-name to pa11y',
'set field #password to password',
'click element #edit-submit',
'wait for path to be /user'
]
However, I'm unsure of how to incorporate these "actions"
into my .pa11yci
configuration file or how to utilize them when calling pa11y-ci
.
Can anyone provide guidance on logging in before initiating a pa11y-ci
test?