Skip to content

Commit 7694373

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

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.github/workflows/test.yml

+4-8
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
@@ -18,13 +19,8 @@ jobs:
1819
run: npm ci
1920
- name: Install headless Chromium for Playwright Browser
2021
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 }}
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)