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
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
+7-23Lines changed: 7 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,32 +55,16 @@ Generate and view test reports:
55
55
56
56
Playwright tests are located in the tests/ directory. Example structure:
57
57
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
62
62
63
63
Refer to the Playwright documentation - https://playwright.dev/docs/intro for writing and structuring tests.
64
64
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
0 commit comments