* chore: add ui states tests
* refactor: enhance UI states tests with specific Percy snapshot names
* refactor: streamline UI states tests by using aliases for elements and improving visibility checks
* Trigger run
* Enhance UI states tests by adding new test files for commands, errors, hooks, nested tests, page events, and status codes. Update existing tests to improve structure and visibility checks.
* Refactor UI states tests to include multiple parts for commands and options, enhancing visibility checks and structure. Updated test descriptions for clarity and added new test cases for better coverage.
* Refactor UI states tests by renaming command test files for clarity and adding new tests for enhanced coverage. Introduced a new file for commands to display in UI, and updated existing tests to improve structure and naming conventions.
* Remove outdated UI commands tests to streamline the test suite and improve maintainability. This cleanup focuses on consolidating test cases and enhancing overall structure.
* Add additional command options tests for UI states, enhancing coverage with parts 4, 5, and 6. Updated existing test descriptions for clarity and improved structure in the Cypress test suite.
* Update with code review
---------
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* internal: allow studio panel to be draggable
* change width calculation when screen is very small so panel can still be draggable
* add tests and fix panel 4 width when studio panel is not open
* remove unused variable
* chore(deps): update dependency eol to v0.10.0
* remove eol from server package - it is unused
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
* 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>
* 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
* internal: (studio) set up infrastructure for cypress in cypress tests for cloud studio
* remove local code
* fix build
* fix build
* extract cloud env to a constant
* Revert "extract cloud env to a constant"
This reverts commit 8e9c1651ab.
* internal: (studio) add network agent to the studio session call
* Update packages/server/lib/cloud/api/studio/post_studio_session.ts
Co-authored-by: Matt Schile <mschile@cypress.io>
---------
Co-authored-by: Matt Schile <mschile@cypress.io>
* chore: (studio) when errors occur in development, log them and do not throw and do not send to Sentry
* Update packages/server/lib/cloud/api/studio/report_studio_error.ts
* chore: (studio) when errors occur in development, log them and do not throw and do not send to Sentry
* chore: (studio) when errors occur in development, log them and do not throw and do not send to Sentry
* 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>
* send studio close button to the cloud
* add design system spinner
* add studio button
* add loading panel and studio close button to StudioPanel
* open new test without url studio prompt
* update panel min-width to 340
* reset newTestMode on cancel
* hide studio panel during screenshot
* fix background color during loading
* add e2e tests
* add ct test for loading studio panel
* add studio button ct tests
* fix button styles
* fix ts error
* fix resizable panels test
* remove beforeeach
* use -1100
* fix studio button bg color
* responsive changes for url bar
* update test helper function name and hide studio button when not using studio cloud
* use loadProjectAndRunSpec in launchStudio
* fix ts error and add test for studio button in specRunnerHeaderOpenMode
* Update cypress.config.js
* use existing studio:init:suite event
* fix failing test
* update variable name
* refactor function for studio init suite
* Update packages/app/src/runner/event-manager.ts
Co-authored-by: Matt Schile <mschile@cypress.io>
* Update packages/app/src/runner/event-manager.ts
Co-authored-by: Matt Schile <mschile@cypress.io>
---------
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: Matt Schile <mschile@cypress.io>
* 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>
* internal: (studio) improvements to how studio can access the protocol database
* fix
* fix build
* refactor due to downstream changes
* Update packages/app/src/studio/studio-app-types.ts
* Update packages/server/lib/cloud/studio.ts
* chore: remove 'not logged in' error - which is dead code
* Remove function getMsgByType which is no longer called in code
* remove errors around 'private test' plans
* Remove snapshots
* update system test snapshot
* 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