Skip to content

Commit

Permalink
moving playwright ci into e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
krpeacock committed Jan 6, 2025
1 parent c9c40bb commit d4def14
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 81 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,23 @@ jobs:
--frontend_url "$FRONTEND_URL_LOCALHOST" \
--candid_url "$CANDID_URL_LOCALHOST" \
--browser chromium firefox webkit
- name: Deploy default dfx project
- name: Deploy sveltekit starter project
run: |
./target/debug/dfx new e2e_project --frontend sveltekit
pushd e2e_project
./target/debug/dfx start --background --clean
./target/debug/dfx canister create e2e_project_frontend --specified-id br5f7-7uaaa-aaaaa-qaaca-cai
./target/debug/dfx deploy
popd
# Add any additional deployments here
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
run: npx playwright install --with-deps
# Runs all playwright tests
- name: Run Playwright tests
run: npx playwright test

aggregate:
name: e2e:required
Expand Down
81 changes: 0 additions & 81 deletions .github/workflows/playwright-svelte.yml

This file was deleted.

0 comments on commit d4def14

Please sign in to comment.