Skip to content

Commit 2fe182d

Browse files
committed
e2e: ci tests
1 parent 5221d80 commit 2fe182d

File tree

6 files changed

+5
-131
lines changed

6 files changed

+5
-131
lines changed

.github/actions/setup-base/action.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/actions/setup-playwright-wallet/action.yml

Lines changed: 0 additions & 68 deletions
This file was deleted.

.github/actions/setup-playwright/action.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

.github/actions/setup/action.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,3 @@ runs:
1717
- name: Install dependencies
1818
shell: bash
1919
run: pnpm install --frozen-lockfile
20-
21-
- name: Install Playwright Browsers and Dependencies
22-
shell: bash
23-
run: pnpm exec playwright install --with-deps

.github/workflows/test-wallet-playwright.yaml renamed to .github/workflows/test-wallet.yaml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -50,23 +50,6 @@ jobs:
5050
echo "Cache contents:"
5151
ls -la ~/.cache/ms-playwright/ || echo "No cache found"
5252
53-
# # Test that we can actually launch chromium
54-
# echo "Testing chromium launch..."
55-
# cat > test-launch.js << 'EOF'
56-
# const { chromium } = require('@playwright/test');
57-
# (async () => {
58-
# console.log('Attempting to launch chromium...');
59-
# const browser = await chromium.launch({ headless: true });
60-
# console.log('✅ Chromium launched successfully!');
61-
# await browser.close();
62-
# process.exit(0);
63-
# })().catch(err => {
64-
# console.error('❌ Failed to launch chromium:', err);
65-
# process.exit(1);
66-
# });
67-
# EOF
68-
# node test-launch.js
69-
7053
- name: Run wallet tests
7154
env:
7255
SECRET_WORDS: ${{ secrets.SECRET_WORDS }}

.github/workflows/test.yaml

Lines changed: 5 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: blacksmith-4vcpu-ubuntu-2404
1111
steps:
1212
- uses: actions/checkout@v4
13-
- uses: ./.github/actions/setup-base
13+
- uses: ./.github/actions/setup
1414

1515
- name: Get contract addresses
1616
run: 'parallel --lb --halt now,success=1,fail=1 ::: \
@@ -20,12 +20,10 @@ jobs:
2020
- run: pnpm test:coverage
2121

2222
build-stateless:
23-
# skip this job
24-
if: false
2523
runs-on: blacksmith-4vcpu-ubuntu-2404
2624
steps:
2725
- uses: actions/checkout@v4
28-
- uses: ./.github/actions/setup-base
26+
- uses: ./.github/actions/setup
2927

3028
- name: Get contract addresses
3129
run: 'parallel --lb --halt now,success=1,fail=1 ::: \
@@ -45,12 +43,10 @@ jobs:
4543
path: stateless-build.tar
4644

4745
build-stateful:
48-
# skip this job
49-
if: false
5046
runs-on: blacksmith-4vcpu-ubuntu-2404
5147
steps:
5248
- uses: actions/checkout@v4
53-
- uses: ./.github/actions/setup-base
49+
- uses: ./.github/actions/setup
5450

5551
- name: Build stateful and export
5652
run: |
@@ -67,8 +63,6 @@ jobs:
6763
path: stateful-build.tar
6864

6965
stateless:
70-
# skip this job
71-
if: false
7266
name: stateless (${{matrix.shard}})
7367
needs: build-stateless
7468
timeout-minutes: 20
@@ -111,7 +105,7 @@ jobs:
111105
]
112106
steps:
113107
- uses: actions/checkout@v4
114-
- uses: ./.github/actions/setup-base
108+
- uses: ./.github/actions/setup
115109

116110
- name: Install Playwright
117111
run: pnpm exec playwright install --with-deps chromium
@@ -141,8 +135,6 @@ jobs:
141135
overwrite: true
142136

143137
stateful:
144-
# skip this job
145-
if: false
146138
name: stateful (${{matrix.shard}})
147139
needs: build-stateful
148140
timeout-minutes: 10
@@ -152,7 +144,7 @@ jobs:
152144
shard: [1, 2, 3]
153145
steps:
154146
- uses: actions/checkout@v4
155-
- uses: ./.github/actions/setup-base
147+
- uses: ./.github/actions/setup
156148

157149
- name: Install Playwright
158150
run: pnpm exec playwright install --with-deps chromium
@@ -182,5 +174,3 @@ jobs:
182174
name: stateful-report-${{matrix.shard}}
183175
path: playwright-report/
184176
retention-days: 30
185-
186-

0 commit comments

Comments
 (0)