WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 4fc9865

Browse files
edit-readme-file
1 parent 859ab1d commit 4fc9865

File tree

1 file changed

+7
-23
lines changed

1 file changed

+7
-23
lines changed

README.md

Lines changed: 7 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -55,32 +55,16 @@ Generate and view test reports:
5555

5656
Playwright tests are located in the tests/ directory. Example structure:
5757

58-
/tests
59-
├── storeTests.spec.ts
60-
├── userTests.spec.ts
61-
├── petTests.spec.js
58+
**/tests**
59+
- storeTests.spec.ts
60+
- userTests.spec.ts
61+
- petTests.spec.js
6262

6363
Refer to the Playwright documentation - https://playwright.dev/docs/intro for writing and structuring tests.
6464

65-
## CI/CD Integration
66-
67-
To integrate Playwright with CI/CD pipelines, configure .github/workflows/playwright.yml or relevant CI scripts. Example:
68-
69-
name: Playwright Tests
70-
on: [push, pull_request]
71-
72-
jobs:
73-
test:
74-
runs-on: ubuntu-latest
75-
steps:
76-
- name: Checkout code
77-
uses: actions/checkout@v3
78-
- name: Install dependencies
79-
run: npm install
80-
- name: Install Playwright Browsers
81-
run: npx playwright install --with-deps
82-
- name: Run tests
83-
run: npx playwright test
65+
## CI Integration
66+
67+
To integrate Playwright with CI/CD pipelines, configure .github/workflows/playwright.yml or relevant CI scripts. More - https://playwright.dev/docs/ci-intro
8468

8569
## Troubleshooting
8670

0 commit comments

Comments
 (0)