How can we help?

Can I select specific tests for Accessibility testing within my build?

To select specific tests within your build for Accessibility testing, you can use includeTagsInTestingScope and excludeTagsInTestingScope under the accessibilityOptions key in the browserstack.yml file.

First, you need to add tags to your test cases.

Then, you can add the tags under includeTagsInTestingScope to select these test cases for Accessibility testing. Alternatively, you can exclude test cases by using tags under excludeTagsInTestingScope.

A sample configuration is as follows:

accessibilityOptions:
  includeTagsInTestingScope: ['critical', 'p0'] # Tags for test cases to include
  excludeTagsInTestingScope: ['old', 'deprecated'] # Tags for test cases to exclude

For more information, refer to these instructions.

Other Resources

Still can’t find what you are looking for?

We are always happy to help with any questions

Support resources Contact Us

Provide your business email to continue