Skip to content
Merged
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
68 changes: 0 additions & 68 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,74 +85,6 @@ jobs:
working-directory: web
continue-on-error: true

e2e-tests:
name: E2E Tests
runs-on: ubuntu-latest
needs: [backend-tests, frontend-tests]

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install build dependencies
run: sudo apt-get update && sudo apt-get install -y libopenslide-dev protobuf-compiler

- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable

- name: Setup Bun
uses: oven-sh/setup-bun@v2
with:
bun-version: latest

- name: Cache Cargo dependencies
uses: Swatinem/rust-cache@v2
with:
workspaces: server

- name: Build server
run: cargo build
working-directory: server

- name: Install frontend dependencies
run: bun install
working-directory: web

- name: Install Playwright browsers
run: bunx playwright install chromium
working-directory: web

- name: Start server
run: |
HOST=127.0.0.1 \
PORT=8080 \
./target/release/pathcollab &
sleep 5
working-directory: server

- name: Start frontend dev server
run: |
bun run dev --port 5173 &
sleep 10
working-directory: web

- name: Run E2E tests
run: bunx playwright test --project=chromium
working-directory: web
env:
E2E_BASE_URL: http://localhost:5173
E2E_API_URL: http://localhost:8080

- name: Upload Playwright report
uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
path: web/playwright-report/
retention-days: 30

# Docker build verification
docker:
name: Docker Build
Expand Down
9 changes: 0 additions & 9 deletions web/bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

176 changes: 0 additions & 176 deletions web/e2e/logging.ts

This file was deleted.

Loading
Loading