Skip to content

Fix 93d: implement showPopup for ScreenManager and BaseScreen #68

Fix 93d: implement showPopup for ScreenManager and BaseScreen

Fix 93d: implement showPopup for ScreenManager and BaseScreen #68

Workflow file for this run

name: Headless Browser Test — DragonSoul Web
on:
push:
branches:
- 'claude/**'
workflow_dispatch:
jobs:
browser-test:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
- name: Install Playwright
run: |
npm init -y
npm install @playwright/test
npx playwright install chromium --with-deps
- name: Start HTTP server
run: |
python3 -m http.server 8080 --directory proto/output/web/ &
echo "HTTP server PID: $!"
# Wait for server to be ready
for i in {1..10}; do
curl -s -o /dev/null -w "%{http_code}" http://localhost:8080/ | grep -q 200 && break
echo "Waiting for server... ($i/10)"
sleep 1
done
curl -s -o /dev/null -w "Server HTTP status: %{http_code}\n" http://localhost:8080/
- name: Run Playwright test
run: node .github/scripts/browser-test.js
timeout-minutes: 5
- name: Upload test artifacts
if: always()
uses: actions/upload-artifact@v4
with:
name: dragonsoul-browser-test-${{ github.sha }}
path: |
/tmp/dragonsoul-test/
retention-days: 7