Skip to content

Commit d276151

Browse files
committed
Temp: Run job on this branch
Signed-off-by: Emre Bogazliyanlioglu <emre@wormholelabs.xyz>
1 parent 361e7b9 commit d276151

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

.github/workflows/test.yml

+5-9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
name: UI Automation Tests
2-
on: workflow_dispatch
1+
name: e2e
2+
on: pull_request
3+
34
jobs:
45
playwright:
56
runs-on: ubuntu-latest
@@ -17,14 +18,9 @@ jobs:
1718
- name: Install dependencies
1819
run: npm ci
1920
- name: Install headless Chromium for Playwright Browser
20-
run: npx playwright install --with-deps --no-shell
21-
- name: Start localhost
22-
run: npm run start &
23-
env:
24-
REACT_APP_TEST_EVM_ADDR: ${{ secrets.REACT_APP_TEST_EVM_ADDR }}
25-
REACT_APP_TEST_EVM_PK: ${{ secrets.REACT_APP_TEST_EVM_PK }}
21+
run: npx playwright install chromium --with-deps
2622
- name: Run Playwright tests
27-
run: npm test:e2e
23+
run: npm run test:e2e
2824
env:
2925
REACT_APP_TEST_EVM_ADDR: ${{ secrets.REACT_APP_TEST_EVM_ADDR }}
3026
REACT_APP_TEST_EVM_PK: ${{ secrets.REACT_APP_TEST_EVM_PK }}

wormhole-connect/playwright.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default defineConfig({
2222
],
2323

2424
webServer: {
25-
command: 'npm run dev',
25+
command: 'npm run start',
2626
url: 'http://localhost:5173',
2727
reuseExistingServer: !process.env.CI,
2828
timeout: 120000,

0 commit comments

Comments
 (0)