Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[stable28] test(cy): skip test failing due to server issue #5145

Merged
merged 6 commits into from
Dec 21, 2023

Conversation

backportbot-nextcloud[bot]
Copy link

Backport of #5142

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

Signed-off-by: Max <max@nextcloud.com>
@juliushaertl
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 <max@nextcloud.com>
* call `cy.showHiddenfiles()` before loading the page.
* Clear `requesttoken` in `cy.login()`.

Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
Fix the warning in CI.

Signed-off-by: Max <max@nextcloud.com>
Signed-off-by: Max <max@nextcloud.com>
@max-nextcloud max-nextcloud merged commit 8709a17 into stable28 Dec 21, 2023
46 checks passed
@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.

3 participants