Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
feat: Fix detached DOM errors for all Cypress commands #24417
feat: Fix detached DOM errors for all Cypress commands #24417
Changes from all commits
3c74ac8
ed9765b
6e408b3
c27dae2
4bfdec8
a881c11
4dc9134
7a62f79
a58e46b
f62277a
ed852c2
e481858
5b73353
b1b7b38
94f3d3f
7fc0859
4b511da
0eecaed
aab9565
6e69496
6a43c68
570b349
6776613
a080940
34fd50e
f8f89cd
6a4a168
4b1a0f6
10bde23
14b5e23
a675694
e1e7eca
652fd06
7cb9377
7fe6442
e982e05
66262d4
7a29d46
a051a28
9224571
ea6e11e
6a492c2
3cb0f56
dfd440c
e775659
e8e5809
62acc80
b90ef7a
d037686
2c5f801
d7526d8
0bf6daa
bf40c37
4c56a53
ecb5aa9
757953b
bf4dff7
ab3b3ed
17fe330
22b10f4
ed990f8
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Huh, kinda surprised that there aren't type comments for any of these.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Links to docs at least would be nice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good call - some comments here can definitely help make sense of the mess of TS definitions.
I'm adding links to a couple of anchors that don't exist yet:
I'll be creating these in the docs PR, which isn't ready yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a fork of cypress-testing-library which uses queries. My current plan is to wait for this PR to merge into
issue-7306
, which will build the cypress binary; I can then update my fork ofcypress-testing-library
to point to that branch for its own tests, and open a PR upstream.I was running into issues while pointing only to the fork / branch, where the
node_modules
cache wouldn't update when I updated my fork - pointing to a specific commit here in the monorepo helped.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Specific commit is always the way to go, IMO. Using a branch causes the caching issue/bug with
yarn
, plus it makes builds unpredictable since the branch's head commit can change at any time.