Skip to content

test: add Playwright e2e tests with Text and Collabora - #187

Open
juliusknorr wants to merge 12 commits into
mainfrom
test/playwright-e2e
Open

juliusknorr wants to merge 12 commits into
mainfrom
test/playwright-e2e

Conversation

@juliusknorr

@juliusknorr juliusknorr commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

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.

Reuse: @nextcloud/e2e-test-server and the setup of nextcloud/text's Playwright suite; nothing in OCP applies.

No /compile needed, src/ is untouched.

馃 Generated with Claude Code

juliusknorr and others added 12 commits October 5, 2026 20:27
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
juliusknorr marked this pull request as ready for review October 5, 2026 20:43
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.

Playwright e2e tests

1 participant