Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
74e7009
WIP: Test Case - Module TC 05 and further
W3rahul Aug 17, 2023
88658f9
WIP: Test Case - Module TC 05 and further
W3rahul Aug 21, 2023
629b682
WIP: Test Case - Module TC 02 and further
W3rahul Aug 29, 2023
18fc35f
WIP: Test Case - Module TC 02 and further
W3rahul Aug 29, 2023
6019bdc
WIP: Test Case - Module TC 02 and further
W3rahul Aug 29, 2023
e937546
WIP: Test Case - Module TC 02 and further
W3rahul Aug 30, 2023
15a70be
WIP: Test Case - Module TC 05 and further
W3rahul Sep 2, 2023
2627689
WIP: Test Case - Module TC 05 and further
W3rahul Sep 2, 2023
13f2f1a
WIP: Test Case - Module TC 05 and further
W3rahul Sep 3, 2023
2a20121
WIP: Test Case - Module TC 05 and further
W3rahul Sep 5, 2023
2900328
WIP: Test Case - Module TC 05 and further
W3rahul Sep 5, 2023
cde1e18
WIP:Test Case - Module TC06 and More
W3rahul Sep 12, 2023
b6455a4
WIP:Test Case - Module TC06 and More
W3rahul Sep 12, 2023
619b2ec
WIP:Test Case - Module TC06 and More
W3rahul Sep 12, 2023
223eeff
WIP:Test Case - Module TC06 and More
W3rahul Sep 12, 2023
fa7c430
Test Case - Module TC 05 and more
W3rahul Sep 12, 2023
d9a5211
WIP: Test Case - Module TC 05 and more
W3rahul Sep 14, 2023
2a91800
WIP: Test Case - Module TC 05 and more
W3rahul Sep 14, 2023
4157770
WIP: Test Case - Module TC 05 and more
W3rahul Sep 14, 2023
e160e4a
WIP: Test Case - Module TC 05 and more
W3rahul Sep 14, 2023
035e442
WIP: Test Case - Module TC 05 and more
W3rahul Sep 14, 2023
b9d4184
WIP: Test Case - Module TC 05 and more
W3rahul Sep 14, 2023
44c0e56
WIP: Test Case - Module TC 05 and more
W3rahul Sep 14, 2023
35c6ff8
WIP: Test Case - Module TC 05 and more
W3rahul Sep 15, 2023
27f0090
WIP: Test Case - Module TC 05 and more
W3rahul Sep 15, 2023
f468035
WIP: Test Case - Module TC 05 and more
W3rahul Sep 15, 2023
19d904b
WIP: Test Case - Module TC 05 and more
W3rahul Sep 16, 2023
6c49b16
WIP: Test Case - Module TC 05 and more
W3rahul Sep 16, 2023
7521769
WIP: Test Case - Module TC 05 and more
W3rahul Sep 16, 2023
05d0dc4
WIP: Test Case - Module TC 05 and more
W3rahul Sep 16, 2023
50e509d
WIP: Test Case - Module TC 05 and more
W3rahul Sep 16, 2023
ece0a59
WIP: Test Case - Module TC 05 and more
W3rahul Sep 16, 2023
6578fc4
WIP: Test Case - Module TC 05 and more
W3rahul Sep 16, 2023
4350440
WIP: Test Case - Module TC 07 and more
W3rahul Sep 18, 2023
1eda749
WIP: Test Case - Module TC 07 and more
W3rahul Sep 18, 2023
bca9df3
WIP: Test Case - Module TC 07 and more
W3rahul Sep 21, 2023
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
103 changes: 75 additions & 28 deletions .github/workflows/Test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,60 +19,107 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout code
- name: Checkout code 🛎️
uses: actions/checkout@v3

- name: Install Node.js
- name: Install Node.js 📚
uses: actions/setup-node@v3
with:
node-version: 18

# TODO: Caches not working properly as of now. Debug it later
- name: Cache node modules
id: cache-npm
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-

- if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
name: List the state of node modules
continue-on-error: true
run: npm list

- name: Install dependencies
- name: Install dependencies 📚
run: npm ci

- name: Install Playwright Browsers
- name: Install Playwright Browsers 📚
run: npx playwright install --with-deps

- name: TC01 - Run Playwright tests
run: npm run test:tc01
env:
WEBAPP_URL: ${{ vars.WEBAPP_URL }}
BROWSER: chromium

- name: TC01 - Deploy Report for TC 01🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: playwright-report # The folder the action should deploy.
target-folder: tests/tc-01/
folder: playwright-report
target-folder: tests/pr-05/tc-01/

- name: TC02 - Run Playwright tests
run: npm run test:tc02
env:
WEBAPP_URL: ${{ vars.WEBAPP_URL }}
BROWSER: chromium

- name: TC02 - Deploy Report for TC 02🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: playwright-report
target-folder: tests/pr-05/tc-02/

- name: TC03 - Run Playwright tests
run: npm run test:tc03
env:
WEBAPP_URL: ${{ vars.WEBAPP_URL }}
BROWSER: chromium

- name: TC03 - Deploy Report for TC 03🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: playwright-report
target-folder: tests/pr-05/tc-03/

- name: TC04 - Run Playwright tests
run: npm run test:tc04
env:
WEBAPP_URL: ${{ vars.WEBAPP_URL }}
BROWSER: chromium

- name: TC04 - Deploy Report for TC 04🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: playwright-report # The folder the action should deploy.
target-folder: tests/pr-01/tc-04/
folder: playwright-report
target-folder: tests/pr-05/tc-04/

- name: TC05 - Run Playwright tests
run: npm run test:tc05
env:
WEBAPP_URL: ${{ vars.WEBAPP_URL }}
BROWSER: chromium

- name: TC05 - Deploy Report for TC 05🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: playwright-report
target-folder: tests/pr-05/tc-05/

- name: TC06 - Run Playwright tests
run: npm run test:tc06
env:
WEBAPP_URL: ${{ vars.WEBAPP_URL }}
BROWSER: chromium

- name: TC06 - Deploy Report for TC 06🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: playwright-report
target-folder: tests/pr-05/tc-06/

- name: TC07 - Run Playwright tests
run: npm run test:tc07
env:
WEBAPP_URL: ${{ vars.WEBAPP_URL }}
BROWSER: chromium

- name: TC07 - Deploy Report for TC 07🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: playwright-report
target-folder: tests/pr-05/tc-07/
8 changes: 0 additions & 8 deletions TestData/hd-wallet.tez

This file was deleted.

Loading