Skip to content

Commit b0a3db6

Browse files
committed
Read Me
1 parent 604e868 commit b0a3db6

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -97,26 +97,26 @@ npm install
9797

9898
## Usage
9999

100-
1. For Browser Configuration, change required parameters in "playwright.config.ts".
100+
1. For Browser Configuration, change required parameters in `playwright.config.ts`.
101101
2. For execution entire test suite on all available browsers simultaneously execute:
102102

103103
```JS
104104
npm run test
105105
```
106106

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`.
108108

109109
```JS
110110
npm run test:single
111111
```
112112

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 :
114114

115115
```JS
116116
npm run test:parallel
117117
```
118118

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 :
120120

121121
```JS
122122
npm run test:serial
@@ -140,7 +140,7 @@ npm run test:record
140140
npm run test:visual
141141
```
142142

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 :
144144

145145
```JS
146146
npm run test:device
@@ -162,3 +162,4 @@ npm run test:report
162162
```JS
163163
npx playwright show-trace trace.zip
164164
```
165+

0 commit comments

Comments
 (0)