-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ef41173
commit aa07ffe
Showing
19 changed files
with
5,877 additions
and
0 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 |
---|---|---|
|
@@ -3,3 +3,4 @@ ETHERSCAN_API_KEY= | |
WALLET_CONNECT_PROJECT_ID= | ||
TOKEN_SALES_URL_MAINNET= | ||
TOKEN_SALES_URL_TESTNET= | ||
APPLITOOLS_KEY= |
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,29 @@ | ||
name: Test using playwright | ||
on: [push] | ||
jobs: | ||
main: | ||
runs-on: ubuntu-latest | ||
env: | ||
APP_NAME: wallet | ||
APPLITOOLS_KEY: ${{ secrets.APPLITOOLS_KEY }} | ||
TOKEN_SALES_URL_MAINNET: ${{ secrets.TOKEN_SALES_URL_MAINNET }} | ||
TOKEN_SALES_URL_TESTNET: ${{ secrets.TOKEN_SALES_URL_TESTNET }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 100 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20.x | ||
- uses: actions/cache@v4 | ||
with: | ||
path: ~/.npm | ||
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }} | ||
- name: Install app dependencies | ||
run: npm ci | ||
- name: Install playwright | ||
run: npx playwright install | ||
- name: Run parallel tests | ||
run: | | ||
npm run build:web | ||
npm run test:playwright:parallel |
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 |
---|---|---|
|
@@ -27,3 +27,8 @@ | |
*.pub | ||
*.zip | ||
/artifacts | ||
|
||
# playwright | ||
/playwright | ||
/playwright-report | ||
/test-results |
Oops, something went wrong.