Skip to content

Commit c173ca4

Browse files
committed
test: setup run test with tonkeeper
1 parent 6af5960 commit c173ca4

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.github/workflows/test.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,17 @@ jobs:
2424
- run: pnpm install
2525
- run: pnpm lint
2626
- run: npx playwright install --with-deps
27+
- run: pnpm dlx [email protected] install-deps
28+
# For now, we only need Chromium
29+
- run: pnpm dlx [email protected] install chromium
2730
- run: pnpm test
31+
- name: Install linux dependencies
32+
run: |
33+
sudo apt-get install --no-install-recommends -y \
34+
xvfb
35+
- run: xvfb-run pnpm tonkeeper
36+
env:
37+
WALLET_MNEMONIC: ${{ secrets.WALLET_MNEMONIC }}
2838
- uses: actions/upload-artifact@v4
2939
if: always()
3040
with:

playwright-test.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export default defineConfig({
99
testDir: './test',
1010

1111
/* Maximum time one test can run for */
12-
// timeout: 30_000,
12+
timeout: 60_000,
1313

1414
expect: {
1515
/**

0 commit comments

Comments
 (0)