File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 - name : Install Playwright Browsers
1919 run : npx playwright install --with-deps
2020 - name : Run Playwright tests
21- run : npx playwright test
21+ run : npm run test
2222 - uses : actions/upload-artifact@v4
2323 if : ${{ !cancelled() }}
2424 with :
Original file line number Diff line number Diff line change @@ -46,14 +46,22 @@ This project covers various interactive features of the Herokuapp test site usin
4646 git clone https://github.com/ravigitgit/playwright-the-internet-tests.git
4747 cd playwright-the-internet-tests
4848
49- 2. ** Install Dependencies **
49+ 2. ** Install project dependencies **
5050 ` ` ` bash
5151 npm install
5252
53- 3. ** Run Tests**
53+ 3. ** Install Playwright browsers with dependencies**
54+ ` ` ` bash
55+ npx playwright install --with-deps
56+
57+ 4. ** Run Tests**
5458 ` ` ` bash
5559 npx playwright test
60+ # or
61+ npm run test
5662
57- 4 . ** Show HTML Report**
63+ 5 . ** Show HTML Report**
5864 ` ` ` bash
5965 npx playwright show-report
66+ # or
67+ npm run test:report
You can’t perform that action at this time.
0 commit comments