Skip to content
Open

Prod #50

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
5132171
Initial commit: Playwright tests with TestDino integration
Aug 28, 2025
63354d7
Update README.md
Tanmay001Gupta Aug 29, 2025
aaaa2d8
Update README.md
Tanmay001Gupta Sep 2, 2025
a11449e
Update test.yml
Tanmay001Gupta Sep 2, 2025
8fb08a0
modified the test cases names
Tanmay001Gupta Sep 2, 2025
4c711b1
Update README.md
Tanmay001Gupta Sep 2, 2025
a50d58b
created test case for user profile page
Tanmay001Gupta Sep 3, 2025
4bd85df
implement test sharding across multiple jobs for faster execution
Tanmay001Gupta Sep 3, 2025
ce29b09
Implement test sharding across multiple jobs for faster execution
Tanmay001Gupta Sep 3, 2025
a486ab1
Created test case for user profile page
Tanmay001Gupta Sep 3, 2025
4d9ffe6
Created test case for user profile page and updated README file
Tanmay001Gupta Sep 4, 2025
d4a2663
Update README.md
Tanmay001Gupta Sep 9, 2025
9a36890
Merge branch 'main' into prod
Tanmay001Gupta Sep 12, 2025
cead7c9
Merge branch 'main' into prod
Tanmay001Gupta Sep 18, 2025
f0340f8
Merge branch 'main' into prod
Tanmay001Gupta Sep 20, 2025
deb600e
Updated some of the test cases
kriti2710 Sep 22, 2025
a9a1c80
Updated some of the test cases
kriti2710 Sep 22, 2025
34a2c6b
Updated some of the test cases
kriti2710 Sep 22, 2025
ccf41c2
Updated some of the test cases
testing123467 Sep 24, 2025
7f10e32
Updated some of the test cases
testing123467 Sep 24, 2025
b2a6838
Updated the workflow file with new updates
Feb 10, 2026
91b5a05
Updated the workflow file with new updates
Feb 10, 2026
22232aa
Updated the workflow file with new updates
Feb 10, 2026
d1fd9a7
Updated the workflow file with new updates
Feb 10, 2026
8a306ce
Fixed the changes related to pricing currency
Feb 10, 2026
98a63e7
fix(trace): updated the yml related to trace
Feb 12, 2026
06805b3
Refactor cart checkout tests and add helper functions
kriti2710 Feb 18, 2026
f33b1b8
Merge branch 'staging' into prod
kriti2710 Feb 18, 2026
0ce8e50
Merge branch 'prod' of github.com:testdino-hq/playwright-sample-tests…
Feb 20, 2026
a648fc1
Updated test cases by adding tags/annotations
Feb 28, 2026
6b84cee
Updated test cases by adding tags/annotations
Feb 28, 2026
bef12f2
Updated and added new test cases
Apr 1, 2026
94e7160
Updated and added new test cases
Apr 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 9 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@

# jobs:
# run-tests:
# name: Run shard ${{ matrix.shardIndex }}/5
# name: Run Playwright shards
# runs-on: ubuntu-latest

# strategy:
# fail-fast: false
# matrix:
# shardIndex: [1,2,3,4,5]
# shardIndex: [1,2,3,4,5]
# shardTotal: [5]

# steps:
Expand All @@ -29,11 +29,11 @@
# uses: actions/setup-node@v3
# with:
# node-version: '18'

# - name: Create .env file
# run: |
# echo "USERNAME=${{ secrets.USERNAME }}" >> .env
# echo "PASSWORD=${{ secrets.PASSWORD }}" >> .env
# echo "PASSWORD=${{ secrets.PASSWORD }}" >> .env
# echo "NEW_PASSWORD=${{ secrets.NEW_PASSWORD }}" >> .env
# echo "FIRST_NAME=${{ secrets.FIRST_NAME }}" >> .env
# echo "STREET_NAME=${{ secrets.STREET_NAME }}" >> .env
Expand All @@ -53,13 +53,10 @@
# - name: Install deps + browsers
# run: |
# npm ci
# npx playwright install --with-deps chromium firefox webkit

# - name: List Playwright projects (debug)
# run: npx playwright list --projects | cat
# npx playwright install --with-deps

# - name: Run shard ${{ matrix.shardIndex }}
# run: npx playwright test --grep="@chromium|@firefox|@webkit|@android|@ios" --reporter=blob --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}
# - name: Run shard ${{ matrix.shardIndex }}
# run: npx playwright test --project=chromium --reporter=blob --shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }}

# - name: Upload blob report
# if: ${{ !cancelled() }}
Expand Down Expand Up @@ -176,7 +173,7 @@ jobs:
run: |
npm install
npm install --save-dev @testdino/playwright@latest
npx playwright install --with-deps chromium firefox webkit
npx playwright install --with-deps chromium webkit firefox

# ✅ Run Playwright shard with TestDino
- name: Run Playwright shard with TestDino
Expand All @@ -185,8 +182,8 @@ jobs:
run: |
npx playwright test \
--shard=${{ matrix.shardIndex }}/${{ matrix.shardTotal }} \
--grep "@chromium|@firefox|@webkit|@android|@ios|@api" \

--grep="@chromium|@firefox|@webkit|@android|@ios|@api" \
# ✅ Upload blob report (needed for merge)
- name: Upload blob report
if: ${{ !cancelled() }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ node_modules/
/playwright/.cache/
.env
.DS_Store
.claude/

15 changes: 4 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Ecommerce demo store - Playwright (javascript) tests
# Ecommerce-demo-test-playwright

Automated end-to-end tests for Ecommerce demo store using [Playwright](https://playwright.dev/).
Automated end-to-end tests for Ecommerce Demo store using [Playwright](https://playwright.dev/).

---

Expand Down Expand Up @@ -63,9 +63,7 @@ reporter: [

After your tests complete and the report is generated in `playwright-report`, upload it to Testdino:

```sh
npx --yes tdpw ./playwright-report --token="YOUR_TESTDINO_API_KEY" --upload-html
```


Replace the token above with your own Testdino API key.

Expand All @@ -82,11 +80,7 @@ npx tdpw --help

Add the following step to your workflow after tests and report generation:

```yaml
- name: Send Testdino report
run: |
npx --yes tdpw ./playwright-report --token="YOUR_TESTDINO_API_KEY" --upload-html
```


Ensure your API key is correctly placed in the command.

Expand All @@ -106,4 +100,3 @@ Pull requests and issues are welcome!

## License

MIT
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading