Skip to content

Conversation

@backportbot-nextcloud
Copy link

@backportbot-nextcloud backportbot-nextcloud bot commented Jul 26, 2022

⚠️ This backport had conflicts and is incomplete ⚠️

backport of #2660

If a command returns a promise cypress will wait for that promise
before proceeding with the next commands.

Since 0162bb0 we return the promises from most commands.
The explicit calls to cy.intercept and cy.wait are not needed anymore.

Signed-off-by: Max <[email protected]>
@backportbot-nextcloud backportbot-nextcloud bot added the tests If you write them we ♥ you label Jul 26, 2022
@backportbot-nextcloud backportbot-nextcloud bot added this to the Nextcloud 24.0.4 milestone Jul 26, 2022
@max-nextcloud
Copy link
Collaborator

this seemed like a good idea when i added the backport request... but i think it would require backporting the commit that made the cypress commands return promisses and seems quite a bit of effort for little in return so i'll close this for now.

@juliusknorr juliusknorr deleted the backport/2660/stable24 branch July 26, 2022 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tests If you write them we ♥ you

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants