Repository navigation
test: add Playwright e2e tests with Text and Collabora - #187
Open
juliusknorr wants to merge 12 commits into
Open
juliusknorr wants to merge 12 commits into
juliusknorr wants to merge 12 commits into
Conversation
juliusknorr
force-pushed
the
test/playwright-e2e
branch
from
October 5, 2026 18:27
5473428 to
7ea825e
Compare
Cover the overview, file list, search, filters, view toggle and creating from a template against a Nextcloud server with Text, richdocuments and a Collabora CODE container. Opening files in an editor is marked fixme until Text and richdocuments register with @nextcloud/viewer on server master. Refs #186 Assisted-by: ClaudeCode:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Julius Knorr <jus@bitgrid.net>
npm on macOS dropped the @emnapi/* entries, so npm ci failed on CI. Assisted-by: ClaudeCode:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Julius Knorr <jus@bitgrid.net>
Server master dropped the bundled Viewer app, so released richdocuments no longer opens files. Build nextcloud/richdocuments#6142, pinned to a commit, until it is released. Revert once a release supports @nextcloud/viewer. Assisted-by: ClaudeCode:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Julius Knorr <jus@bitgrid.net>
Build nextcloud/text#9235, pinned to a commit, so Text registers with @nextcloud/viewer on server master. The Text spec stays fixme until opening a file works there. Revert once Text main supports @nextcloud/viewer. Assisted-by: ClaudeCode:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Julius Knorr <jus@bitgrid.net>
The first link of any navigation landmark was matched, and its href was used unescaped in a RegExp. Assisted-by: ClaudeCode:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Julius Knorr <jus@bitgrid.net>
Reusing required just Nextcloud to answer, so a run after an interrupted setup got a server without Collabora. Require both containers, recreate Nextcloud on start and remove both again when setup fails. Assisted-by: ClaudeCode:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Julius Knorr <jus@bitgrid.net>
Assisted-by: ClaudeCode:claude-opus-5-5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Julius Knorr <jus@bitgrid.net>
juliusknorr
force-pushed
the
test/playwright-e2e
branch
from
October 5, 2026 18:30
7ea825e to
8ae2a99
Compare
juliusknorr
marked this pull request as ready for review
October 5, 2026 20:43
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #186
Adds Playwright e2e tests against a Nextcloud master server (via
@nextcloud/e2e-test-server) with Text, richdocuments and a Collabora CODE container started next to it on the docker bridge.Covered: category navigation and routing, files per category, search, filters, grid/list toggle, filename validation, creating from a template and opening a document in Collabora.
ci:commit so they can be reverted once releases support@nextcloud/viewer.test.fixme: with text#9235 the handler registers, but opening a.mdfrom Files does nothing yet.RICHDOCUMENTS_PATH/TEXT_PATHmount local checkouts; otherwise richdocuments comes from the app store with--force(no release targets 36 yet).workers: 1: parallel user creation races on the shared SQLite server.Reuse:
@nextcloud/e2e-test-serverand the setup of nextcloud/text's Playwright suite; nothing in OCP applies.No
/compileneeded,src/is untouched.馃 Generated with Claude Code