* feat: Commands.addSelector, and migrate .get() to be a selector
* Fix for failed tests
* Last test fix
* More test fixes
* Self review changes
* Remove the concept of prevSubject from selectors entirely
* Rename addSelector to addQuery
* Quick fix for last commit
* Fix TS
* Fix merge from develop
* Add types and other review updates
* Increase timeout to try fixing flakiness
* Rename addQuery to _addQuery
* Fix typo in previous commit
* Fix TS
* Include AUT assertion in cy.get()
* Fix for previous commit
* Review feedback
* Minor test improvement
* Swifter failure on sizzle syntax error
* Better solution for refetching current subject in verifyUpcomingAssertions
* Command IDs now include their chainerId
* Revert "chore: Revert "feat: _addQuery() (#23665)" (#24022)"
This reverts commit f399994e9f.
* feat: move .contains() and .shadow() to be queries; remove cy.ng() (#23791)
* First stab at removing old .get() implementation
* Fix TS and a couple of tests
* Fix tests and TS
* Fix case-sensitivity for .contains()
* Stop TS complaining
* Rework cy-contains jquery expression
* Add comments, make ts happy
* Fix one test, review feedback
* Review updates
* Fix additional tests
* Fix accidental deletion of vital code
* One more try at getting logs right
* Fix race condition in cross-origin .contains
* Add commented out test to ensure .within() works properly with selectors
* Fix for sessions + query subject chaining
* Fix mixing .within() shadow DOM and .contains() in same chainer
* One more attempt at .within + .contains
* Fix rebase commits
* feat: addQuery Remaining Queries (#24203)
* First stab at removing old .get() implementation
* Fix TS and a couple of tests
* Fix tests and TS
* Fix case-sensitivity for .contains()
* Stop TS complaining
* Rework cy-contains jquery expression
* Add comments, make ts happy
* Fix one test, review feedback
* Review updates
* Fix additional tests
* Fix accidental deletion of vital code
* One more try at getting logs right
* Fix race condition in cross-origin .contains
* Add commented out test to ensure .within() works properly with selectors
* Fix for sessions + query subject chaining
* Fix mixing .within() shadow DOM and .contains() in same chainer
* One more attempt at .within + .contains
* Fix rebase commits
* Update many commands to be queries; improve log message around invalid subjects
* Update connectors, location, focused and window commands to queries
* Return noop to a command and not a query (to avoid implicit assertions)
* More test fixes
* Fix test failures
* Fix for weird-ass frontend-component test
* Error message improvements
* Fix for broken system test
* Update withinSubject to use subject chain
* Test clarifications
* Unbreak cypress-testing-library via withinState backwards compatibility
* Typo in last commit
* Improvement for assertion following failed traversal
* feat: Fix detached DOM errors for all Cypress commands (#24417)
* First stab at removing old .get() implementation
* Fix TS and a couple of tests
* Fix tests and TS
* Fix case-sensitivity for .contains()
* Stop TS complaining
* Rework cy-contains jquery expression
* Add comments, make ts happy
* Fix one test, review feedback
* Review updates
* Fix additional tests
* Fix accidental deletion of vital code
* One more try at getting logs right
* Fix race condition in cross-origin .contains
* Add commented out test to ensure .within() works properly with selectors
* Fix for sessions + query subject chaining
* Fix mixing .within() shadow DOM and .contains() in same chainer
* One more attempt at .within + .contains
* Fix rebase commits
* Update many commands to be queries; improve log message around invalid subjects
* Update connectors, location, focused and window commands to queries
* Return noop to a command and not a query (to avoid implicit assertions)
* More test fixes
* Fix test failures
* Fix for weird-ass frontend-component test
* Error message improvements
* Fix for broken system test
* Update withinSubject to use subject chain
* Test clarifications
* Unbreak cypress-testing-library via withinState backwards compatibility
* Typo in last commit
* Improvement for assertion following failed traversal
* WIP adding query support to
* More work on actionability + detached dom
* Fix TS, rename _addQuery to addQuery
* Another try to fix types
* Fix lint
* Fix for bad merge
* Fixes for a couple more tests
* Increase timeout 50ms -> 100ms on certain tests failing in CI
* Switch to new branch of cypress-testing-library
* Update lockfile
* Fix yarn.lock with latest version of forked testing-library
* More test fixes
* Fix TS again
* Increase test assertion timeout so it passes on slow browsers (webkit)
* Apply suggestions from code review
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Zach Bloomquist <git@chary.us>
* More review changes
* Fix selectFile tests based on updated error message
* Improve types and type comments for Commands.add
* Undo change to Commands.add types
* Update yarn lockfiles again
* Remove overwriteQuery from Cy12; .focused() now respects passed in timeout
* Update cli/types/cypress.d.ts
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
* Restore .uncheck() tests
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Zach Bloomquist <git@chary.us>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
* Fix for hanging driver test after merge
* Fix for app component test
Co-authored-by: Emily Rohrbough <emilyrohrbough@users.noreply.github.com>
Co-authored-by: Zach Bloomquist <git@chary.us>
Co-authored-by: Chris Breiding <chrisbreiding@users.noreply.github.com>
* fix: remove dependence on @cypress/<dep> types
* I added a patch but didn't wire up patch-package
* address comments
* remove patch, use updated @vue-test-utils
* fix: Add polyfill for Chrome V65+
* Improve targets def
* Improvement to keep bundle size down https://github.com/vitejs/vite/tree/main/packages/plugin-legacy#modernpolyfills
* Add version to browser-version to integration test driver against min chrome version
* Polyfill all modules & add all supported browser's min versions
* Add flag to prevent a legacy chunk being created for all assets. This dramatically reduces bundle size
* chore: do not rely on transitive dep. from npm/react
* chore: bump to vite 3.0.2
* revert
* target es6
* remove unused code
* update styles
* remove ts-ignore
* bump to vite 3.0.3
* chore(deps): update dependency nock to v13.2.9 🌟
* chore: update nock api from v12 to v13 by changing socketDelay to delayConnection. See https://github.com/nock/nock/releases/tag/v13.0.0 for more details
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
Co-authored-by: Lachlan Miller <lachlan.miller.1990@outlook.com>