Skip to content

[stable29] Cleanup _oc_webroot stubs where possible#5841

Merged
mejo- merged 5 commits intostable29from
backport/5378/stable29
May 28, 2024
Merged

[stable29] Cleanup _oc_webroot stubs where possible#5841
mejo- merged 5 commits intostable29from
backport/5378/stable29

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented May 28, 2024

Backport of PR #5378

We do not need to test functionality internal to `@nextcloud/router`.

Signed-off-by: Max <max@nextcloud.com>
* Prevent @nextcloud/router from reading `window.location.pathname`
  which would include `cypress/_iframe`.
* Keep the `window.OC` stub for now for easier backports.
  Tests pass without it these days.

Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
@backportbot backportbot bot added tests If you write them we ♥ you 3. to review labels May 28, 2024
@backportbot backportbot bot added this to the Nextcloud 29.0.1 milestone May 28, 2024
@mejo- mejo- merged commit 212c220 into stable29 May 28, 2024
@mejo- mejo- deleted the backport/5378/stable29 branch May 28, 2024 08:27
@Altahrim Altahrim mentioned this pull request May 28, 2024
1 task
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

None yet

Development

Successfully merging this pull request may close these issues.

2 participants