Skip to content

test(e2e): migrate direct editing tests to Playwright - #9668

Merged
mejo- merged 1 commit into
mainfrom
test/directediting_playwright
Nov 23, 2026
Merged

mejo- merged 1 commit into
mainfrom
test/directediting_playwright

Conversation

@mejo-

@mejo- mejo- commented Nov 23, 2026

Copy link
Copy Markdown
Member

The Cypress spec flaked on runner 3. The test pressed Ctrl+S and then closed right away, so two saves ran at the same time and neither persisted the content. Cypress retries then failed on the leftover state, which hid the real error.

The Playwright spec uses a fresh user and file per test and closes without a separate manual save. It also drops the Cypress commands that only this spec used.

Assisted-by: ClaudeCode:claude-opus-5-5

🏁 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 or fully generated using AI tools
  • The AI-generated content was reviewed, comprehended and tested by a human

The Cypress spec flaked on runner 3. The test pressed Ctrl+S and then
closed right away, so two saves ran at the same time and neither
persisted the content. Cypress retries then failed on the leftover
state, which hid the real error.

The Playwright spec uses a fresh user and file per test and closes
without a separate manual save. It also drops the Cypress commands that
only this spec used.

Signed-off-by: Jonas <jonas@freesources.org>
Assisted-by: ClaudeCode:claude-opus-5-5
@mejo- mejo- self-assigned this Nov 23, 2026
@mejo- mejo- added tests If you write them we ♥ you 3. to review feature: direct editor labels Nov 23, 2026
@github-project-automation github-project-automation Bot moved this to 🧭 Planning evaluation (don't pick) in 📝 Productivity team Nov 23, 2026
@mejo- mejo- moved this from 🧭 Planning evaluation (don't pick) to 👀 In review in 📝 Productivity team Nov 23, 2026
@nextcloud-command nextcloud-command added the AI assisted This PR contains AI-assisted commits label Nov 23, 2026
@codecov

codecov Bot commented Nov 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@mejo-
mejo- merged commit 72254fe into main Nov 23, 2026
66 checks passed
@github-project-automation github-project-automation Bot moved this from 👀 In review to ☑️ Done in 📝 Productivity team Nov 23, 2026
@mejo-
mejo- deleted the test/directediting_playwright branch November 23, 2026 12:30
@mejo-

mejo- commented Nov 23, 2026

Copy link
Copy Markdown
Member Author

/backport to stable35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review AI assisted This PR contains AI-assisted commits feature: direct editor tests If you write them we ♥ you

Projects

Status: ☑️ Done

Development

Successfully merging this pull request may close these issues.

3 participants