Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/prediction-market-gates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,8 @@ jobs:
run: bun run dev:bootstrap

- name: Install Playwright browser
run: bunx playwright install --with-deps chromium
working-directory: packages/hyperbet-${{ matrix.chain }}/app
run: ./node_modules/.bin/playwright install --with-deps chromium

- name: AVAX gate posture note
if: matrix.chain == 'avax'
Expand Down
11 changes: 7 additions & 4 deletions packages/hyperbet-solana/app/scripts/run-e2e-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,10 @@ sleep 2
write_control_file

echo "[e2e] running playwright tests"
E2E_BASE_URL="http://127.0.0.1:$APP_PORT" \
E2E_GAME_API_URL="$GAME_API_URL" \
E2E_ARENA_WRITE_KEY="$E2E_ARENA_WRITE_KEY" \
bunx playwright test --config "$APP_DIR/tests/e2e/playwright.config.ts" "$@"
(
cd "$APP_DIR"
E2E_BASE_URL="http://127.0.0.1:$APP_PORT" \
E2E_GAME_API_URL="$GAME_API_URL" \
E2E_ARENA_WRITE_KEY="$E2E_ARENA_WRITE_KEY" \
./node_modules/.bin/playwright test --config "$APP_DIR/tests/e2e/playwright.config.ts" "$@"
)
Loading