Describe the bug
Our web site under test requires a valid query string to operate (otherwise it will error). Having this limitation makes it so the ADO task is unusable for our scenario.
To Reproduce
Steps to reproduce the behavior: Below is the yaml used to test, see the url with query strings
task: accessibility-insights@3
displayName: Scan for accessibility issues
inputs:
hostingMode: 'dynamicSite'
url: 'https://ourapp.contoso.com/?appid=1235&area=test'
serviceAccountName: $(serviceAccountName) # Key vault secret name for the service account name
serviceAccountPassword: $(serviceAccountPassword) # Key vault secret name for the service password
authType: 'AAD'
singleWorker: true
uploadOutputArtifact: true
CodePen repro example
The above yaml outputs the error:
##[error][Exception]ErrorWithCause: An error occurred while scanning website page https://ourapp.contoso/?appid=1235&area=test
at Logger.trackExceptionAny (D:\a\_tasks\accessibility-insights_4811a442-2fd3-5aa8-ba1a-14cb7e24c113\3.1.0\index.js:189142:29)
at Scanner.<anonymous> (D:\a\_tasks\accessibility-insights_4811a442-2fd3-5aa8-ba1a-14cb7e24c113\3.1.0\index.js:190329:29)
at Generator.next (<anonymous>)
at fulfilled (D:\a\_tasks\accessibility-insights_4811a442-2fd3-5aa8-ba1a-14cb7e24c113\3.1.0\index.js:190244:58)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
caused by: Error: Crawl base URL should not have any query parameters. https://ourapp.contoso/?appid=1235&area=test
Expected behavior
Expected to run against the web site as it requires query parameters to run properly
Context (please complete the following information)
N/A
Are you willing to submit a PR?
Maybe
Did you search for similar existing issues?
Yes
Additional context
Describe the bug
Our web site under test requires a valid query string to operate (otherwise it will error). Having this limitation makes it so the ADO task is unusable for our scenario.
To Reproduce
Steps to reproduce the behavior: Below is the yaml used to test, see the url with query strings
CodePen repro example
The above yaml outputs the error:
Expected behavior
Expected to run against the web site as it requires query parameters to run properly
Context (please complete the following information)
N/A
Are you willing to submit a PR?
Maybe
Did you search for similar existing issues?
Yes
Additional context