* fix: don't automatically remove requests when cdpRequestWillBeSentReceivedTimestamp is set to 0. Also, do not ass hashes to prerequest url as the urls do not have hashes when coming through the middleware
* Update packages/server/lib/browsers/bidi_automation.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* chore(deps): update dependency hasha to v5.2.2
* use hashs instead of copied code
* chore(deps): update dependency hasha to v5.2.2
* move to dep instead of devDep
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* feat: install win32-x64 binary on win32-arm64 platform
* Move changelog feature to next minor release
---------
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* refactor: Update nested groups design
* Update styles
* Enhance command method styling for child elements in the reporter. Updated the CommandDetails component to conditionally apply a class for child commands and added corresponding SCSS styles to display a prefix for child command methods.
* Fix formatting in SCSS for child command styles by adjusting indentation for better readability.
* add chanagelog entry
* Enhance command expander styling by adding a parent class for better layout control and adjusting margin for command number column.
* Update padding for error message styles in SCSS to improve layout consistency.
* Refactor SCSS styles and introduce mixins for gutter alignment and command info padding. Update error component styles for improved layout and consistency. Adjust padding and margins for better alignment across command and error sections.
* Refactor command styles by removing redundant class names and consolidating group indentation styles into a mixin. Update SCSS files to utilize the new mixin for consistent width handling across command and error components.
* Enhance SCSS mixins by adding align-self property for improved layout consistency in command info and group indentation styles.
* Remove redundant align-self property from SCSS mixin for command info and add logging and expectation in Cypress test for improved clarity in UI state tests.
* Use snapshotReporter instead
* Refactor snapshotReporter to dynamically set width based on reporter panel size, improving snapshot accuracy and visibility of UI elements.
* Update snapshotReporter to include sidebar width in percy snapshots, enhancing UI element visibility and accuracy.
---------
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* 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