-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from nguyenbatranvan/feature/e2e_test
Feature/e2e test
- Loading branch information
Showing
21 changed files
with
13,363 additions
and
14,665 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Playwright Tests | ||
on: | ||
push: | ||
branches: [ main, master ] | ||
pull_request: | ||
branches: [ main, master ] | ||
jobs: | ||
test: | ||
timeout-minutes: 60 | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: lts/* | ||
|
||
- name: Install deps | ||
run: npm install --frozen-lockfile | ||
- name: Install Playwright Browsers | ||
run: npx playwright install --with-deps | ||
- name: Run Playwright tests | ||
run: npx playwright test | ||
- uses: actions/upload-artifact@v4 | ||
if: always() | ||
with: | ||
name: playwright-report | ||
path: playwright-report/ | ||
retention-days: 30 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,3 +37,7 @@ testem.log | |
# System Files | ||
.DS_Store | ||
Thumbs.db | ||
/blob-report/ | ||
/playwright/.cache/ | ||
/playwright-report/ | ||
.nx/cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"targetDefaults": { | ||
"dev": { | ||
"dependsOn": [ | ||
"^build" | ||
] | ||
}, | ||
"build": { | ||
"dependsOn": [] | ||
}, | ||
"lint": { | ||
"dependsOn": [] | ||
}, | ||
"preview": { | ||
"dependsOn": [] | ||
}, | ||
"start": { | ||
"dependsOn": [] | ||
}, | ||
"build-npm": { | ||
"dependsOn": [] | ||
}, | ||
"prepublishOnly": { | ||
"dependsOn": [] | ||
} | ||
} | ||
} |
Oops, something went wrong.