Skip to content

test(playwright): don't set webServer.url parameter - #8968

Merged
mejo- merged 1 commit into
mainfrom
chore/playwright_wait_webserver
Aug 5, 2026
Merged

test(playwright): don't set webServer.url parameter#8968
mejo- merged 1 commit into
mainfrom
chore/playwright_wait_webserver

Conversation

@mejo-

@mejo- mejo- commented Aug 4, 2026

Copy link
Copy Markdown
Member

We want Playwright to wait for the webServer.wait.stdout condition. If webServer.url is set, it takes precedence.

Set reuseExistingServer: false and let start-nextcloud-server.mjs detect if the webserver is already running.

With these changes, Playwright waits for Nextcloud to be ready before running the tests, but at the same time can be started several times in a row with a running Docker container without running into conflicts.

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests

🤖 AI (if applicable)

  • The content of this PR was partly generated using AI tools
  • The AI-generated content was reviewed, comprehended and tested by a human

We want Playwright to wait for the `webServer.wait.stdout` condition. If
`webServer.url` is set, it takes precedence.

Set `reuseExistingServer: false` and let `start-nextcloud-server.mjs`
detect if the webserver is already running.

With these changes, Playwright waits for Nextcloud to be ready before
running the tests, but at the same time can be started several times in
a row with a running Docker container without running into conflicts.

Signed-off-by: Jonas <jonas@freesources.org>
Assisted-by: OpenCode:claude-fable-5
@mejo- mejo- self-assigned this Aug 4, 2026
@mejo- mejo- added tests If you write them we ♥ you 3. to review labels Aug 4, 2026
@github-project-automation github-project-automation Bot moved this to 🧭 Planning evaluation (don't pick) in 📝 Productivity team Aug 4, 2026
@mejo-

mejo- commented Aug 4, 2026

Copy link
Copy Markdown
Member Author

/backport to stable34

@mejo- mejo- moved this from 🧭 Planning evaluation (don't pick) to 👀 In review in 📝 Productivity team Aug 4, 2026
@mejo-
mejo- merged commit d52d791 into main Aug 5, 2026
63 of 65 checks passed
@mejo-
mejo- deleted the chore/playwright_wait_webserver branch August 5, 2026 08:22
@github-project-automation github-project-automation Bot moved this from 👀 In review to ☑️ Done in 📝 Productivity team Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review tests If you write them we ♥ you

Projects

Status: ☑️ Done

Development

Successfully merging this pull request may close these issues.

2 participants