-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New translations browserstack.md (Polish)
- Loading branch information
1 parent
4f0738c
commit 61380a0
Showing
1 changed file
with
63 additions
and
0 deletions.
There are no files selected for viewing
63 changes: 63 additions & 0 deletions
63
...pl/docusaurus-plugin-content-docs/current/accessibility-testing/BrowserStack.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
--- | ||
id: browserstack | ||
title: BrowserStack Accessibility Testing | ||
--- | ||
|
||
# BrowserStack Accessibility Testing | ||
|
||
You can easily integrate accessibility tests in your WebdriverIO test suites using the [Automated tests feature of BrowserStack Accessibility Testing](https://www.browserstack.com/docs/accessibility/automated-tests?utm_source=webdriverio\&utm_medium=partnered\&utm_campaign=documentation). | ||
|
||
## Advantages of Automated Tests in BrowserStack Accessibility Testing | ||
|
||
To use Automated tests in BrowserStack Accessibility Testing, your tests should be running on BrowserStack Automate. | ||
|
||
The following are the advantages of Automated tests: | ||
|
||
- Seamlessly integrates into your pre-existing automation test suite. | ||
- No code changes are required in test cases. | ||
- Requires zero additional maintenance for accessibility testing. | ||
- Understand historical trends and gain test-case insights. | ||
|
||
## Get Started with BrowserStack Accessibility Testing | ||
|
||
Follow these steps to integrate your WebdriverIO test suites with BrowserStack's Accessibility Testing: | ||
|
||
1. Install `@wdio/browserstack-service` npm package. | ||
|
||
```bash npm2yarn | ||
npm install --save-dev @wdio/browserstack-service | ||
``` | ||
|
||
2. Update `wdio.conf.js` config file. | ||
|
||
```javascript | ||
exports.config = { | ||
//... | ||
user: '<browserstack_username>' || process.env.BROWSERSTACK_USERNAME, | ||
key: '<browserstack_access_key>' || process.env.BROWSERSTACK_ACCESS_KEY, | ||
commonCapabilities: { | ||
'bstack:options': { | ||
projectName: "Your static project name goes here", | ||
buildName: "Your static build/job name goes here" | ||
} | ||
}, | ||
services: [ | ||
['browserstack', { | ||
accessibility: true, | ||
// Optional configuration options | ||
accessibilityOptions: { | ||
'wcagVersion': 'wcag21a', | ||
'includeIssueType': { | ||
'bestPractice': false, | ||
'needsReview': true | ||
}, | ||
'includeTagsInTestingScope': ['Specify tags of test cases to be included'], | ||
'excludeTagsInTestingScope': ['Specify tags of test cases to be excluded'] | ||
}, | ||
}] | ||
], | ||
//... | ||
}; | ||
``` | ||
|
||
You can view detailed instructions [here](https://www.browserstack.com/docs/accessibility/automated-tests/get-started/webdriverio?utm_source=webdriverio\&utm_medium=partnered\&utm_campaign=documentation). |