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: README.md
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -97,26 +97,26 @@ npm install
97
97
98
98
## Usage
99
99
100
-
1. For Browser Configuration, change required parameters in "playwright.config.ts".
100
+
1. For Browser Configuration, change required parameters in `playwright.config.ts`.
101
101
2. For execution entire test suite on all available browsers simultaneously execute:
102
102
103
103
```JS
104
104
npm run test
105
105
```
106
106
107
-
3. For executing single test case on Chrome browser execute the below command, ypu can change the browser for execution e.g. if you want to run test cases on Firefox, you can change "--project=Firefox" against "test:single" in "package.json", just make sure the browser name given matches the name given in "playwright.config.ts".
107
+
3. For executing single test case on Chrome browser execute the below command, ypu can change the browser for execution e.g. if you want to run test cases on Firefox, you can change `--project=Firefox` against `test:single` in `package.json`, just make sure the browser name given matches the name given in `playwright.config.ts`.
108
108
109
109
```JS
110
110
npm run test:single
111
111
```
112
112
113
-
4. For executing test cases in parallel, provide a suitable tag "@SmokeTest" at the start of your test case name, then in "package.json" against "test:parallel" give the tag value and execute :
113
+
4. For executing test cases in parallel, provide a suitable tag `@SmokeTest` at the start of your test case name, then in `package.json` against `test:parallel` give the tag value and execute :
114
114
115
115
```JS
116
116
npm run test:parallel
117
117
```
118
118
119
-
5. For executing test cases in sequence, provide a suitable tag "@SmokeTest" at the start of your test case name, then in "package.json" against "test:serial" give the tag value and execute, "workers" parameter correspond to test cases you want to execute simultaneously e.g. "--workers=3", executes 3 test cases simultaneously :
119
+
5. For executing test cases in sequence, provide a suitable tag `@SmokeTest` at the start of your test case name, then in `package.json` against `test:serial` give the tag value and execute, `workers` parameter correspond to test cases you want to execute simultaneously e.g. `--workers=3`, executes 3 test cases simultaneously :
120
120
121
121
```JS
122
122
npm run test:serial
@@ -140,7 +140,7 @@ npm run test:record
140
140
npm run test:visual
141
141
```
142
142
143
-
9. For emulating test cases on any device, in "playwright.config.ts", under device section provide desired device name and execute :
143
+
9. For emulating test cases on any device, in `playwright.config.ts`, under device section provide desired device name and execute :
0 commit comments