Skip to content

Tonkeeper Web Playwright #8

Tonkeeper Web Playwright

Tonkeeper Web Playwright #8

Workflow file for this run

name: Tonkeeper Playwright
on:
workflow_dispatch:
jobs:
playwright-tests:
name: playwright-tests
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- name: Checkout to git repository
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Enable Corepack
run: |
corepack enable
- name: Run install
uses: borales/actions-yarn@v5
with:
cmd: install
- name: Install Playwright Browsers
working-directory: ./tests/playwright
run: npx playwright install --with-deps
- name: Run Playwright tests
working-directory: ./tests/playwright
env:
BASE_APP_URL: https://wallet.tonkeeper.com
TON_MNEMONIC_24: ${{ secrets.TON_MNEMONIC_24 }}
TON_MNEMONIC_24_2: ${{ secrets.TON_MNEMONIC_24_2 }}
TON_MNEMONIC_24_3: ${{ secrets.TON_MNEMONIC_24_3 }}
TON_MNEMONIC_24_4: ${{ secrets.TON_MNEMONIC_24_4 }}
TON_MNEMONIC_24_5: ${{ secrets.TON_MNEMONIC_24_5 }}
TON_MNEMONIC_ANANAS: ${{ secrets.TON_MNEMONIC_ANANAS }}
TON_MNEMONIC_12: ${{ secrets.TON_MNEMONIC_12 }}
TON_MNEMONIC_12_2: ${{ secrets.TON_MNEMONIC_12_2 }}
run: npx playwright test
- uses: actions/upload-artifact@v4
if: ${{ !cancelled() }}
with:
name: playwright-report
path: tests/playwright/playwright-report/
retention-days: 10