Skip to content

[stable33] test: migrate from Cypress to playwright - #64437

Merged
susnux merged 9 commits into
stable33from
backport/60194/stable33
Sep 16, 2026
Merged

susnux merged 9 commits into
stable33from
backport/60194/stable33

Conversation

@backportbot

@backportbot backportbot Bot commented Sep 16, 2026

Copy link
Copy Markdown

Backport of #60194

Warning, This backport's changes differ from the original and might be incomplete ⚠️

Todo

  • Review and resolve any conflicts
  • Review and verify the backported changes
  • Amend HEAD commit to remove the line stating to skip CI

Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

@backportbot
backportbot Bot requested review from artonge and susnux September 16, 2026 19:03
@backportbot backportbot Bot added 3. to review Waiting for reviews tests Related to tests developer experience labels Sep 16, 2026
@backportbot backportbot Bot added this to the Nextcloud 33.0.10 milestone Sep 16, 2026
@susnux
susnux force-pushed the backport/60194/stable33 branch from 1ff79fe to ae980eb Compare September 16, 2026 19:03
@susnux susnux changed the title [stable33] test: add playwright pipeline and start migrating Cypress to Playwright [stable33] test: migrate from Cypress to playwright Sep 16, 2026
Backport of all changes from `master` to migrate from Cypress to
Playwright.

Assisted-by: ClaudeCode:claude-opus-5
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
The specs encode the frontend behaviour of the branch they were written
for. Adapt the branch-sensitive ones and drop those covering features that
only exist from Nextcloud 34 on:

- the waffle app launcher and the configurable app store tile do not exist
  here, so `core/header-app-menu` and `core/admin-settings-appstore-link`
  are removed and `NavigationHeaderPage` models the inline app menu
- the app store is part of the settings app, so `AppstorePage` uses its
  markup, routes and `/settings/apps/*` endpoints
- accounts are edited inline in the user row instead of in an edit dialog
- the account management sidebar has no combined account and group search,
  so `users-search` is removed
- the settings navigation is server rendered and omits both captions for
  accounts without administration sections

Assisted-by: ClaudeCode:claude-opus-5
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
The recommended apps view reads the app list from `settings/apps/list` and
enables every selected app in a single `settings/apps/enable` request, then
redirects to the default page. Stub those routes and assert the redirect
instead of an inline per-app result.

Assisted-by: ClaudeCode:claude-opus-5
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
It is a new file, so it must not inherit the ownCloud copyright and the
dual license of the other tsconfig files.

Assisted-by: ClaudeCode:claude-opus-5
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Assisted-by: ClaudeCode:claude-opus-5
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
A row that re-renders while its details are still loading drops back to
read-only, so a single click on the toggle is not enough. Seen with an
account whose manager was seeded before the page was opened.

Assisted-by: ClaudeCode:claude-opus-5
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
…eration SHARE permission

Link and email shares get the SHARE permission added by the server whenever
`shareapi_allow_federation_on_public_shares` is enabled, which is the default.
Comparing their raw permissions against the bundles therefore classified every
public share as "Custom permissions" instead of the bundle it was created with.

Match against the bundles through a helper that ignores that permission for
public shares, while keeping the `exclude_reshare_from_edit` aware comparison
for internal shares.

Assisted-by: ClaudeCode:claude-opus-5
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
(cherry picked from commit 8cfc129)
The title naming the storage, "{name} (unavailable)", arrived with the
accessible row name rework in 34. Backporting it would add a new
translatable string to a stable branch, so assert what is rendered here.

Assisted-by: ClaudeCode:claude-opus-5
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Assisted-by: ClaudeCode:claude-opus-5
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux
susnux force-pushed the backport/60194/stable33 branch from ae980eb to 9f2c285 Compare September 16, 2026 19:09
@susnux
susnux marked this pull request as ready for review September 16, 2026 19:10
@susnux
susnux requested review from a team as code owners September 16, 2026 19:10
@susnux
susnux requested review from Altahrim, come-nc, icewind1991, kristian-zendato and sorbaugh and removed request for a team September 16, 2026 19:10
@susnux
susnux merged commit a9d48ca into stable33 Sep 16, 2026
193 of 196 checks passed
@susnux
susnux deleted the backport/60194/stable33 branch September 16, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews developer experience tests Related to tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants