Skip to content

Conversation

@max-nextcloud
Copy link
Collaborator

get().filter() might not take into account elements
that did not exist in the dom yet when the get part was fired.

.filter() would then wait for the elements that already existed
during .get() to contain the newly created image.

Signed-off-by: Max [email protected]

@max-nextcloud max-nextcloud requested a review from julien-nc June 20, 2022 13:32
`get().filter()` might not take into account elements
that did not exist in the dom yet when the `get` part was fired.

`.filter()` would then wait for the elements that already existed
during `.get()` to contain the newly created image.

Signed-off-by: Max <[email protected]>
@max-nextcloud max-nextcloud force-pushed the test/fix-cypress-selector branch from 8393ecc to ffba707 Compare June 20, 2022 14:10
Copy link
Member

@julien-nc julien-nc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better indeed!

@julien-nc julien-nc merged commit 10daea3 into master Jun 20, 2022
@delete-merged-branch delete-merged-branch bot deleted the test/fix-cypress-selector branch June 20, 2022 14:16
@max-nextcloud
Copy link
Collaborator Author

/backport to stable24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants