Skip to main content
No Result Found

Specify testing scope in Automated tests

Define the testing scope for automated accessibility testing within your test suite.

You might want to include accessibility tests only for certain device combinations or test cases. In that case, you can limit the scope of accessibility tests to specific device combinations or test cases.

Test on specific device combinations

Include or exclude specific device combinations from your testing scope by specifying the accessibility flag under the preferred device combination within the platform list.

browserstack.yml
Copy icon Copy

Accessibility testing will only run on Desktops (Mac & Windows) with Chrome 100 & above on Automate.

Test on specific test cases

Include or exclude test cases from the testing scope based on their tag, annotation, or groups. These need to be specified under the accessibilityOptions key.

browserstack.yml
Copy icon Copy

Additionally, here are some important considerations for the inclusion & exclusion list:

  1. If no tags are found in either list, testing will take place on all test cases.
  2. If tags are found in both lists, the final set of test cases will be identified for testing by removing the exclusion list test cases from the inclusion list test cases.

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle