* chore(deps): update dependency sinon-chai to v3.7.0
* empty commit
* bump circle cache
* add sinon-chai to base package.json as its used to test base level scripts
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
* Update cy.press signature to be Chainable
Since it's added via `Commands.add`, I believe `cy.press` should have a return type of `Chainable<null>` rather than `void`
* Update first_spec.cy.js
Updated test for chainable
* use addAll rather than add to avoid type check
* fix unit test
* Add cli entry
* update changelog
---------
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* feat: ship webpack-bundle-analyzer with @cypress/webpack-dev-server and @cypress/webpack-batteries-included-preprocessor to help better diagnose build issues for cypress users
* Update npm/webpack-dev-server/test/devServer-unit.spec.ts
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
---------
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* dependency: bump trash dir
* update trash files to TypeScript
* Run on binaries + other OSes
* index on update-trash: d37e059ac3 Run on binaries + other OSes
* index on update-trash: d37e059ac3 Run on binaries + other OSes
* index on update-trash: d37e059ac3 Run on binaries + other OSes
* fix build
* changelog entry
---------
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* Refactor existing mounter of assertions - make a CT test for it
* update more styles + add a11y features
* bump vue-icons
* Finish last styles and icons
* Fix logic
* bump shared package icons
* fix test
* update css to be scoped + set all css to initial to clear AUT styles
* add test for getOrCreateHelperDom function
* update tabbing test
* add changelog
* update changelog to include addressed in
* fix: use getPath to prevent video file overwrite
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
* chore: update changelog
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
* test: add system e2e for the retain videos fix
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
* Update cli/CHANGELOG.md
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
* Update types for screenshots to be in util/fs
* Fix changelog entry placement
* fix extension type
* more types fixes
* fix: add required field in getPath call to satisfy ts
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
* fix: sync Data interface from develop branch
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
* fix: update SavedDetails type to better definition
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
* update changelog
* break out type import into unique line to allow mksnapshot to work
* fix: minor comment fixes
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
* fix: change videoPath fn signature as per comment
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
* fix: convert the test to async/await
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
* Update CHANGELOG.md
---------
Signed-off-by: Yashodhan Joshi <yjdoc2@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Mike McCready <66998419+MikeMcC399@users.noreply.github.com>
Co-authored-by: AtofStryker <bglesias@gmail.com>
* fix: ensure having trouble debugging your ci failures message displays
* bump cache version
* index on ryanm/fix/having-trouble-debugging-your-ci-failures-minimal: 55804945c1 fix: ensure having trouble debugging your ci failures message displays
* index on ryanm/fix/having-trouble-debugging-your-ci-failures-minimal: 55804945c1 fix: ensure having trouble debugging your ci failures message displays
* index on ryanm/fix/having-trouble-debugging-your-ci-failures-minimal: 55804945c1 fix: ensure having trouble debugging your ci failures message displays
* fix test
* Update tooling/v8-snapshot/package.json
* Delete cli/vue2/README.md
* Delete cli/vue2/package.json
* Update ci_failure_spec_ts.js
* rename
---------
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
* chore: add React.FC props and display names so components don't show up as anonymous in react dev tools
* fix: make sure newly added <Command> components call the auto scroll handler in the <Test> component
* Update cli/CHANGELOG.md
* Update packages/driver/cypress/support/utils.ts
---------
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* chore: replace mocha.opts with .mocharc.js for packages that are mocha version 6+
* move the mocharc file into the package root
* fix mocha reporter config location
* fix route to reporter-config
* store artifacts for unit tests
* move cli mocharc file to root of package
* remove storing artifacts
* remove js extension from errors mocharc
* use old create instance method for proxy support
* changelog
* conform legacy createInstance to the newer signature
* link to proxy env issue as todo
* changelog
* system test snapshots
* fix snap
* activate main window before attempting to detect aut iframe active element
* add todo about refactor
* changelog
* system test for issue 31466
* no infinite max depth
* changelog
* changelog
* simplify
* additional test, better window switching logic
* misc: update some of the dark gray UI to be darker gray for better contrast
* Changelog entry
* add Pending to changelog
* Update other areas of the reporter to be darker gray
* update reporter section variable color
* wip - cy.press() command
* cy command for dispatching key press/down/up events
* unit tests and failure cases for cy.press()
* Cypress.Keyboard.Keys definition; fix command log message
* add keys to the internal keyboard type
* auto-focus in cdp
* ensure aut iframe is focused before dispatching key events in bidi browsers
* update tests for cdp focus
* fixed tests for bidi
* lint
* fix type ref in .d.ts
* linting
* skip press() driver test in ff below v135
* try all contexts for frame before failing due to missing/invalid context id
* ensure error is error before accessing props
* skip press driver test in webkit
* changelog
* debug automation middleware invocation for firefox flake
* debug
* cache update
* use bidi automation middleware from connectToNewSpec rather than constructor
* more comprehensive logging
* debug socket base, additional debug in automation
* install firefox automation middleware on setup as well as connectToNewSpec
* unit tests for firefox-utils
* proper calledWith
---------
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* dependency: upgrade mocha to 7.2.0
* changelog entry
* remove the it.only from the mocha patch changelog that is triggering our stop-only check from passing
* skip patches folder with stop-only check
* remove extra bracket
* Update protocol_spec to reflect new mocha line number for error stack trace
* fix(deps): update dependency webdriver to v9.11.0
* empty commit
* add changelog entry
* run some more tests
* add a comment for the postinstall running in the server
* bump circleci cache
* put patch-package back
* bump cache
* chore: update patches and add tests in test static assets
* fix changelog
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: AtofStryker <bglesias@gmail.com>
* fix: allow version 10 of the babel-loader peer dependency
* empty commit
* adjust babel-loader dependency
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* upgrade babel-loader version
* chore: test babel loader
* chore: add changelog entry (only necessary due to touching the packages directory)
* chore: add changelog entry (only necessary due to touching the packages directory)
---------
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* cdp command impl for tab dispatch
* misc: add automation command to cdp for forthcoming tab key
* changelog
* skip non chromium browsers for press() driver test
* fix test
* misc: bidi automation impl for key press
* amend types
* log, but do not fail, if key:press is not supported
* rm extraneous debugs
* rm more debug
* changelog
* comments
* revert to keyDown from rawKeyDown, remove delay
* expand changelog to include bidi
* changelog
---------
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>