You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/playwright-accessibility-test.md
+10-4Lines changed: 10 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,6 @@ import TabItem from '@theme/TabItem';
42
42
})
43
43
}}
44
44
></script>
45
-
46
45
This document walks you through the process of evaluating the accessibility of your website through the execution of automated tests using LambdaTest's Accessibility Tool.
47
46
48
47
<!-- > Compatible only with Chrome and Edge browser versions >= 90. -->
@@ -55,7 +54,6 @@ This document walks you through the process of evaluating the accessibility of y
55
54
## Step-by-Step Guide to Trigger Your Test
56
55
57
56
### Step 1: Setup Your Test Suite
58
-
59
57
You can use your own project to configure and test it. For demo purposes, we are using the sample repository.
60
58
61
59
:::tip sample repo
@@ -117,7 +115,6 @@ set LT_ACCESS_KEY="${ YOUR_LAMBDATEST_ACCESS_KEY()}"`}
117
115
</Tabs>
118
116
119
117
### Step 3: Configure the Necessary Capabilities
120
-
121
118
To enable the accessibility testing within your automated test suite, set the `accessibility: true` in your configuration file. You can also define other settings capabilities as described below.
122
119
123
120
```javascript
@@ -132,7 +129,16 @@ To enable the accessibility testing within your automated test suite, set the `a
132
129
}
133
130
```
134
131
135
-
### Step 4: Execute and Monitor your Test
132
+
### Step 4: Add the following add-on Script
133
+
In your `lambdatest-setup.js` file add these three lines after your page creation command as shown below:
Now execute your tests and visit the [Automation Dashboard](https://accounts.lambdatest.com/dashboard). Click on the Accessibility tab and check the report generated.
0 commit comments