Skip to content

Run Playwright app in CI with dispatch SDK config - #636

Open
ghoshArnab wants to merge 1 commit into
masterfrom
ci/playwright-self-hosted
Open

ghoshArnab wants to merge 1 commit into
masterfrom
ci/playwright-self-hosted

Conversation

@ghoshArnab

@ghoshArnab ghoshArnab commented Oct 9, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Run on GitHub-hosted Ubuntu; the workflow opts into Playwright-managed startup of the Angular dev server at http://localhost:3500.
  • Prompt for infinity_rest_server_url and app_alias at dispatch; apply both to the selected branch's sdk-config.json only in the CI checkout.
  • Leave the committed SDK config at its normal local defaults.
  • Install Chromium system dependencies, serialize runs per Infinity URL, and retain the report for one day.

How to run

Use Actions → Playwright against deployed branch → Run workflow, choose the code branch, then provide the full Infinity REST URL (including /prweb) and the SDK app alias.

webServer auto-start is disabled for normal Playwright runs. Set PLAYWRIGHT_START_SERVER=true to opt into it; the workflow sets this flag.

Validation

Formatting, lint, commit hooks, commitlint, config assertions, and discovery of all five selected tests passed. The live Playwright tests were not run here; port 3500 is occupied in the workspace, preventing a local server smoke test.

@ghoshArnab
ghoshArnab force-pushed the ci/playwright-self-hosted branch from 1843274 to ca90cc7 Compare October 9, 2026 06:33
@ghoshArnab ghoshArnab changed the title Run deployed Playwright tests on self-hosted Mac Start Playwright app in CI against Infinity Oct 9, 2026
@ghoshArnab
ghoshArnab force-pushed the ci/playwright-self-hosted branch from ca90cc7 to a83f566 Compare October 9, 2026 06:36
@ghoshArnab ghoshArnab changed the title Start Playwright app in CI against Infinity Run Playwright app in CI with dispatch SDK config Oct 9, 2026
@ghoshArnab
ghoshArnab force-pushed the ci/playwright-self-hosted branch 9 times, most recently from 3590830 to b4fcad0 Compare October 9, 2026 08:04
@ghoshArnab
ghoshArnab force-pushed the ci/playwright-self-hosted branch from b4fcad0 to 8343d4b Compare October 9, 2026 08:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant