Skip to content

Conversation

@max-nextcloud
Copy link
Collaborator

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.

  • Target version: master

@max-nextcloud
Copy link
Collaborator Author

/backport to stable24

@max-nextcloud
Copy link
Collaborator Author

max-nextcloud commented Jul 3, 2022

sigh... looks like opening a file in a share does not trigger the same propfind - probably because the sidebar is not shown or so.

update: worked around this by distinguishing between opening files and foldes as folders always trigger the propfind.

@max-nextcloud max-nextcloud force-pushed the cleanup/no-need-to-wait branch 4 times, most recently from 64d739d to aef08ac Compare July 4, 2022 06:23
@juliusknorr juliusknorr added tests If you write them we ♥ you 3. to review labels Jul 4, 2022
@juliusknorr
Copy link
Member

/rebase

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]>
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.

4 participants