Skip to content

Conversation

@backportbot-nextcloud
Copy link

Backport of #5142

nextcloud/server#42306
causes the DELETE request to fail with 423 Locked.

Signed-off-by: Max <[email protected]>
@juliusknorr juliusknorr force-pushed the backport/5142/stable28 branch from fa5c955 to 1cc4ef3 Compare December 21, 2023 18:48
@juliusknorr
Copy link
Member

Let me also cherry-pick #5129 into here

* Use `this.requesttoken` rather than `cy.get(@requesttoken)`
  to use the same value rather than re-evaluating the query.
* After visit `this.requesttoken` will be set.
  No need to attempt to load the token from the window
  if it is not.
* Use a simple `if` statement instead of `cypress-if`.
* This also cleans up the cypress logs significantly.

Signed-off-by: Max <[email protected]>
* call `cy.showHiddenfiles()` before loading the page.
* Clear `requesttoken` in `cy.login()`.

Signed-off-by: Max <[email protected]>
Fix the warning in CI.

Signed-off-by: Max <[email protected]>
@max-nextcloud max-nextcloud merged commit 8709a17 into stable28 Dec 21, 2023
@max-nextcloud max-nextcloud deleted the backport/5142/stable28 branch December 21, 2023 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants