Skip to content

Conversation

@backportbot-nextcloud
Copy link

Backport of #5143

Some tests modify it - so set it to `en` in `beforeEach`.

Following the recommendataion of preparing everything
in `beforeEach` hooks
rather then reverting the changes in `after` hooks
so the state of failing tests can be inspected.

Signed-off-by: Max <[email protected]>
* `cy.openWorkspace()` and `cy.createDescription()`
  use the currently opened path now.
  They don't need any argument anymore.
  This also avoids duplicate page loads.
* Use 'testFolder' alias and `this.testFolder`
  instead of `currentFolder` variable.

Signed-off-by: Max <[email protected]>
Otherwise `this.testFolder` is not available
as `this` cannot be reassigned with arrow functions.

Signed-off-by: Max <[email protected]>
This was referenced Dec 21, 2023
@juliusknorr juliusknorr merged commit 0fa957d into stable28 Dec 21, 2023
@juliusknorr juliusknorr deleted the backport/5143/stable28 branch December 21, 2023 18:36
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