Skip to content

GLSP-1449 Update to latest client version (#238) #29

GLSP-1449 Update to latest client version (#238)

GLSP-1449 Update to latest client version (#238) #29

Workflow file for this run

name: 'E2E'
concurrency:
group: e2e-${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
playwright:
name: E2E Tests
timeout-minutes: 120
runs-on: ubuntu-22.04
env:
STANDALONE_URL: 'file://${{ github.workspace }}/glsp-client/examples/workflow-standalone/app/diagram.html'
GLSP_SERVER_PORT: '8081'
GLSP_SERVER_PLAYWRIGHT_MANAGED: 'false'
GLSP_WEBSOCKET_PATH: 'workflow'
THEIA_URL: 'http://localhost:3000'
VSCODE_VSIX_ID: 'eclipse-glsp.workflow-vscode-example'
VSCODE_VSIX_PATH: '${{ github.workspace }}/.../vscode-example-2.3.0-next.vsix'
GLSP_SERVER_DEBUG: 'true'
GLSP_SERVER_TYPE: 'node'
steps:
- uses: actions/checkout@v4.1.7
with:
path: 'theia-integration'
- uses: actions/checkout@v4.1.7
with:
repository: 'eclipse-glsp/glsp-playwright'
path: 'glsp-playwright'
- uses: actions/setup-node@v4.0.2
with:
node-version: '18'
- uses: actions/setup-python@v5.1.0
with:
python-version: '3.11'
- name: Build Theia Integration
run: |
cd theia-integration
yarn --skip-integrity-check --network-timeout 100000
yarn browser build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Build Playwright
run: |
cd glsp-playwright
yarn
- name: Start Browser App
run: |
cd theia-integration
yarn browser start &
- name: Run Playwright tests
id: run_playwright_tests
run: |
cd glsp-playwright
yarn test:theia || echo "Flaky tests failed, but continuing..."
- name: Upload Playwright report
uses: actions/upload-artifact@v4.3.4
if: always()
with:
name: playwright-report
path: glsp-playwright/examples/workflow-test/playwright-report/