Fix 93d: implement showPopup for ScreenManager and BaseScreen #68
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |