* update yarn.lock
* index on mabel/issue-31677-reporter-redesign: 5e2503f339 Merge branch 'mabel/issue-31677-reporter-redesign' of https://github.com/cypress-io/cypress into mabel/issue-31677-reporter-redesign
* index on mabel/issue-31677-reporter-redesign: 5e2503f339 Merge branch 'mabel/issue-31677-reporter-redesign' of https://github.com/cypress-io/cypress into mabel/issue-31677-reporter-redesign
* index on mabel/issue-31677-reporter-redesign: 5e2503f339 Merge branch 'mabel/issue-31677-reporter-redesign' of https://github.com/cypress-io/cypress into mabel/issue-31677-reporter-redesign
* handle open in ide and new test button shadows/padding/alignment
* link issue to TODO
* only add pointer-events:none to tests and not suites
* fix failing tests
* Update cache-version.txt
* fix failing test
* fix clear sessions width
* yarnlock update
* remove unused style
* remove unused style
* add caching when calculating children states in the suite-model
* Revert "add caching when calculating children states in the suite-model"
This reverts commit 3b59a94282.
* Remove * css style for reporter box-sizing - I don't see this impacting css styles at all
* have css only target languages we support showing in Cypress App
* Remove normalize.scss
* Remove more global css resets to improve rendering performance
* remove running state
* memoize components in runnable-and-suite
* fix failing test
* bump cache
* skip failing tests related to active states
* add clearSuiteId function
* misc: begin work on reporter redesign
* remove info icon on failing tests
* Add new queued icon to tests
* bump react-icon
* add some styles for the header
* add some styles and icons to describe blocks
* display chevron down on describe hover
* add css for red-400
* only display collapsible describes if there are tests in the suite
* add new test on describe hover
* add describe focus styles
* add describe focus styles scss
* fix add commands to test wand placement
* update stats icon with describe and test hover and focus
* update test status icons
* handles some of the test body styles and states
* add ellipsis to runnable title and flex shrink to icons
* fix command row stylings
* fix session alignment
* fix collapsible indicator styles
* handle attempt styling
* fix failing tests
* add back command status borders
* fix suites.cy.ts tests and make some styling fixes
* fix styles for New test button on focused/hovered suites
* fix header test
* attempt spacing fixes
* fix shortcuts test
* add open in ide on header hover
* make some styling fixes to errors
* make error styling changes
* update control icons and styles
* fix dotted line for suites
* add test dots
* fix logic for displaying test dots
* use stop circle icon
* refactor runnable and suite header icon
* only use test children to determine current suite state to display the suite icons
* fix suites test
* fix suite and test icon alignments
* clean up some comments and unused variables
* fix failing tests
* fix failing studio tests
* fix failing tests
* fix meta test
* fix suite_model test
* add more tests for suite-model
* fix more tests
* fix failing test
* fix padding for hook headers
* handle font weight, describe aligment and status border widths
* fix rounded corners on hover of commands
* round status border when test is opened
* handle chevron right/down when hovering when collapsible is open/closed
* add changelog entry
* yarn lock
* run on binary
* bust circle cache
* center align open in ide on command hover
* add padding to the bottom of the last suite/test
* fix attempt padding and connecting dots
* update progress bar color to gray-900
* no jumping when opening test
* top align describe/test text when the text wraps to the next line
* clean up new test button styles and add the linear gradient
* fix dotted line and describe/test padding
* round out error border and remove double red border on errors
* fix gap for stack trace
* only apply margin top to test and suite icons
* change opacity of add commands to test wand icon
* fix wand opacity test
* can we just remove this overflow: scroll?
* clean up TODOs
* fix error group line alignment
* align open IDE tooltip in hooks
* fix padding between suites
* remove purple border around describe in studio
* Add tailwind css so that styles work in e2e tests
* fix studio buttons padding
* fix stack trace padding
* disable clicking for skipped and queued up tests
* fix 1px jumping when opening test
* handle open in ide and new test button shadows/padding/alignment
* circle cache
* update yarn.lock
* index on mabel/issue-31677-reporter-redesign: 5e2503f339 Merge branch 'mabel/issue-31677-reporter-redesign' of https://github.com/cypress-io/cypress into mabel/issue-31677-reporter-redesign
* index on mabel/issue-31677-reporter-redesign: 5e2503f339 Merge branch 'mabel/issue-31677-reporter-redesign' of https://github.com/cypress-io/cypress into mabel/issue-31677-reporter-redesign
* index on mabel/issue-31677-reporter-redesign: 5e2503f339 Merge branch 'mabel/issue-31677-reporter-redesign' of https://github.com/cypress-io/cypress into mabel/issue-31677-reporter-redesign
* link issue to TODO
* only add pointer-events:none to tests and not suites
* fix failing tests
* Update cache-version.txt
* fix failing test
* fix clear sessions width
* remove unused style
* yarnlock update
* add caching when calculating children states in the suite-model
* Revert "add caching when calculating children states in the suite-model"
This reverts commit 3b59a94282.
* Remove * css style for reporter box-sizing - I don't see this impacting css styles at all
* have css only target languages we support showing in Cypress App
* Remove normalize.scss
* Remove more global css resets to improve rendering performance
* remove running state
* memoize components in runnable-and-suite
* fix failing test
* bump cache
* skip failing tests related to active states
* clean up existing studio UI
* refactor duration and openFileInIDEButtn
* update workflows file
* add single test component
* save parentTitle to use in single test mode
* add single test component
* clean up studio commands
* remove adding studio commands as a hook
* clean up hook-model from studio commands
* use new singleTest component when studio is active and on single test mode
* update reporter start to set single studio test active
* actually set single test mode
* clean up more old studio code
* fix styles for header title
* fix hooks test
* whoops re-add deleted line
* fix events.cy.ts test
* fix runnables_store test
* fix test_model test
* fix test_errors test
* fix tests test
* fix studio-cloud test
* update waitForSpecToFinish
* fix some studio tests maybe?
* fix some tests
* add back studio commands hook to tests
* add back some of the events i removed that also need to be cleaned up in the cloud
* fix some tests
* add test for back button and open in ide button in single test mode
* add component test for StudioSingleTest component
* wait for specs to finish to reduce flake when asserting on aut iframe
* add tests back
* remove studio instructions modal
* remove this branch from mac workflow
* try to fix the studio tests
* check if aut-iframe is empty
* add more checks to make sure aut is ready
* add loading tests state to StudioSingleTest
* fix single studio test
* add more conditions for the studio tests
* make a few more changes to the existing tests
* fix button styles
* add scrollbar to single test
* hide studio commands hooks
* handle scroll to view in single test mode
* show empty test state when test is errored
* update name to checkForStats
* add useScrollIntoView hook
* update waitForSpecToFinish
* remove unused props
* allow stop button to work when studio is active
* clean up StudioTest.scss
* remove runnable active and queued checks
* fix order of operations in waitForSpecToFinish
* call studio:cancel event for back button in studio test mode
* remove studio commands check
* memoize scrollIntoView callback and add it as a dependency in useEffect
* fix ts error
* check if single test studio is active when waiting for spec
* fix launchStudio new test logic
* allow shorcuts to work in studio mode
* align test studio icon at the top
* refactor spec file name into its own component
* update tests with new spec file name classname
* add checkForStats and add tests for removing url parameters
* remove spacing
* fix icon import
* fix tests.cy
* fix open file in ide test
* add style I accidentally removed
---------
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
* internal: (studio) force test re-run if `watchForFileChanges: false`
* fix lint
* don't set function through addSocketListeners
* use common functions
* revert unnecessary changes
* update socket tests
* stablize tests
* try to fix test
* fix test
* internal: (studio) add manifest for all of the cloud delivered files
* fix tests and environment variables
* update strategy
* fix tests
* rework
* Apply suggestions from code review
* require manifest
* require manifest
* clean up
* refactor
* Update packages/server/lib/cloud/studio/StudioLifecycleManager.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* refactor
* just use the string
* try and fix test
* try and fix test
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* spike: cut over cy.url(), cy.hash(), cy.location(), cy.reload(), cy.go(), and cy.title() all to use the automation client to subvert the cross-origin boundary
refactor backend client
* chore: add unit tests for cy url, hash, location, title, reload, and go changes to make it easier to test minor behavior changes
bump cache
* fix issues with cy in cy tests. refactor aut discovery code as the frame tree gets stale on reload
* update comments from code review
---------
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* begin removing migration code
* remove migration query
* add back actions
* remove more migration references
* more migration removals
* remove call to migration
* remove gqp-Migration file
* updates to remove migration
* update type
* remove a lot more migration code - especially errors
* Remove other errors/warnins for versions before 10.x
* update error snapshots
* fix some tests
* index on remove-migration: 49fa75ab78 Merge branch 'remove-migration' of https://github.com/cypress-io/cypress into remove-migration
* index on remove-migration: 49fa75ab78 Merge branch 'remove-migration' of https://github.com/cypress-io/cypress into remove-migration
* index on remove-migration: 49fa75ab78 Merge branch 'remove-migration' of https://github.com/cypress-io/cypress into remove-migration
* remove more system tests and references
* fix call to refreshMetaState which was lost at initialization
* rearrange some system tests to not be dependent on migration
* update welcome version test
* fix wording of messaging
* skip irrelevant test
* fix failing assertion
* remove tests around cypress-plugin-retries
* Remove test from config_spec
* Remove screenshot from snapshot
* fix tests + remove more migration projects
* remove + update system tests
* remove + update system tests
* remove some invalid dev-server: start errors
* remove references and tests around pluginsFile which was removed
* remove some more invalid config examples
* Add changelog entry
* fix changelog link
* fix unit test
* index on remove-migration: 490ddb134c Merge branch 'release/15.0.0' into remove-migration
* index on remove-migration: 490ddb134c Merge branch 'release/15.0.0' into remove-migration
* index on remove-migration: 490ddb134c Merge branch 'release/15.0.0' into remove-migration
* run all binary/windows tests on this branch
* Update packages/scaffold-config/test/unit/detect.spec.ts
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* Update packages/scaffold-config/test/unit/detect.spec.ts
Co-authored-by: Bill Glesias <bglesias@gmail.com>
---------
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* feat: replace tsnode with tsx for parsing user configuration in all cases
* bump ubuntu images from node 18 to 20 as node 18 is not supported in cypress 15 and allows us to not include the 18.19.0 workaround to use --import with tsx inside the ProjectConfigIpc
* fix: issues finding tsx on windows as it needs the file:// protocol as absolute drive paths are not recognized as a file protocol in the node context
* make sure to filter out stack code correctly for windows
* fix: fix flake from windows on reporter menu not expanding (unrelated to this PR and should be merged into develop)
* chore: update changelog with all issues tsx cutover closes
* fix merge conflicts
* chore: add regression tests for cypress projects that previously did not work but now do with tsx
* build all binaries
* chore: address issues from code review
* update changelog
* remove todo comment on testing legacy migration with tsx
* refactor codeFrame calculation into a util function and add a unit test
* updated node versions in project config ipc tests to remove 18 and test threshold / latest values. Removed redundant comments on ts-node.
* 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: convert cache.js file within server to TypeScript
* update cache calls and await them
* updates to imports and switching cache calls to await
* remove Partial from Allowed State
* change cache calls back to not await
* Remove dead code
* update memo.push return
* 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>
* chore: set up sharing of react via module federation in studio
* chore: add ability to load types from the studio bundle
* fix build
* fix build
* fix build
* chore: pass file preprocesor override to protocol as debug data
* fix tests
* PR comments
* PR comment
* update types
* chore: set up sharing of react via module federation in studio
* chore: add ability to load types from the studio bundle
* fix build
* fix build
* fix build
* PR comments
* Update guides/studio-development.md
Co-authored-by: Matt Schile <mschile@cypress.io>
* fix test
---------
Co-authored-by: Matt Schile <mschile@cypress.io>
* feat: implement BiDi automation client base (without full extension cutover). [run ci]
* chore: implement suggestions from code review. [run ci]
* update error text to be in line with documentation
* address comments from code review
* address comments from code review
* make bidi, cdp, and both active protocols object enumerations to make the code easier to read
* address additional comments from code review
* fix errors from refactor
* update firefox warning
* remove experimentalSkipDomainInjection, add and deprecate injectDocumentDomain
* remove experimentalSkipDomainInjection, add injectDocumentDomain
* begin rethreading domain injection
* complete document domain transition
* move some cookie specs to separate test run
* origin and privileged commands with default docdom inject
* fix privileged channel when injecting document domain
* rm unnecessary .getOrigin abstraction in cors lib
* move remote-states in prep for refactor Replace Conditional with Polymorphism
* refactor remote states to strategy pattern
* cookie commands work as expected w cross origin bridge on different origins
* some origin tests updated
* run tests with document domain enabled
* run tests actually
* use correct config, swap conditional
* check-ts
* inject documetn domain for webkit tests
* do not exec injectDocumetnDomain in parallel
* fix ServerBase construction in tests to include cfg now
* pass cfg to ServerBase
* improved integration tests
* remove document domain checks for all server integration specs - will add injectDocumentDomain cases
* tests for injecting document domain when configured to
* square away server integration tests
* ensure cookies are set correctly, potentially
* errors pkg snapshots
* fix config tests
* fixing config tests
* somewhat improves tests for cors policies in packages/network
* fix ts err in server-base
* enable injectDocumentDomain for cy in cy tests
* fix Policy type ref
* refactor cypress-schematic ct spec to be less prone to timeouts
* run vite-dev-server tests with injectDocumentDomain
* rm document domain assertion from page_loading system test
* add system tests that test with injectDocumentDomain and others that test with cy.origin
* fix results_spec snapshot
* update experimentalSkipDomainInjection system test
* different behavior for certain net_stubbing tests based on injectDocumentDomain or not
* fix ts
* extract origin key logic from remote states, for now
* move server-base and response-middleware over to new pattern
* WIP - reentry
* fix build, remove console.log
* check-ts
* fix spec frame injection
* remove injection for localhost
* mostly fix vite-dev-server app integration tests
* fix codeframe in certain cases in chrome
* drop internal stack frames from stacks intended for determining code frame data
* some improvements to vite ct error codeframes
* fix proxy unit tests to use document domain injection util class
* rm .only
* fix all vite ct error specs
* rm console.log
* slight refactor to util class to make easier to test
* fix refactor - missing rename in files.js
* several tests do not set testingtype in config, so just check against component instead of checking for e2e
* revert changes to getInvocationDetails to see if that breaks tests
* re-enable stack stripping in invocation details for chrome
* new snapshots with more accurate invocation details
* test for same-site cross-origin cookie behavior
* ignore window.top ts errors
* revert forcing injectDocumentDomain in vite-dev-server cy config
* fix normalized whitespace for firefox "loading_failed" error
* always trim trailing wsp from stack before appending additional content
* force normalization of whitespace to three \n when adding additional stack details
* normalize wsp between stack and additional stack to "\n \n" in firefox
* remove stack_utils attempt at normalizing wsp
* various cleanup: remove commented console logs, add more detailed comments
* add on links to error messages
* remove experimentalSkipDomainInjection from exported type defs
* Update system-tests/test/experimental_skip_domain_injection_spec.ts
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* Update packages/driver/cypress/e2e/e2e/origin/cookie_misc.cy.ts
Co-authored-by: Bill Glesias <bglesias@gmail.com>
* no need to coerce a boolean value to a booleanc
* export base config from primary cypress config in driver for use in inject-document-domain test subset
* lift experimentalSkipDomainInjection breaking option to root
* rollback config/options changes
* rm invalid comment
* use hostname instead of origin to create cookie from automation cookie
* clarify stack regex in results_spec
* lint
* take a stab at the changelog entries for this
* Update cli/CHANGELOG.md
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* Update cli/CHANGELOG.md
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* reenable locally-failing test
* changelog
* snapshot updatesfor experimental skip domain injection err msg
* remove packageManager declaration in package.json
---------
Co-authored-by: Bill Glesias <bglesias@gmail.com>
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
* pull support for JIT from vite since it doesn't have an affect for end users or performance (webpack only) [run ci]
rebase this
* remove the experimentalJIT flag and make it GA (default still false) [run ci]
* enable justInTimeCompile by default [run ci]
* chore: bump cache [run ci]
* feat: update the protocol to be able to flex logic based on project config
* slight refactor
* Update cli/CHANGELOG.md
* Update packages/types/src/protocol.ts
* fix ts
* remove logic around min supported browsers
BREAKING: remove logic around min supported browsers
* changelog entry
* forgot to save some changed files
* update broken tests
* remove another test testing unsupported browsers
* Add back logic for browser validator
* return if validator is undefined
* update called browser
* fix failing tests
* fix logic of unsupported showing
* add parens
* fix sync script with updateds npm-packlist
* chore: update lerna from 6.6.2 to 8.1.8 and ran lerna repair
* chore: pin typescript to ~5.4.5 to avoid importsNotUsedAsValues that was removed in 5.5 and edit workflows and scripts to correctly scope learna packages on v8 snapshot tests [run ci]
* fix indentation in comments
* remove console.log reference to print current package directory in sync exported npm with cli script
* misc: implement webdriver npm package as the client for the webdriver specification
* misc: go back to xulstore to save browser preferences [run ci]
* add changelog [run ci]
* chore: fix screenshot resolution [run ci]
* fix check-ts issues [run ci]
* run windows ci [run ci]
* run ci
* add comments [run ci]
* build binaries for webdriver impl [run ci]
* fix Cypress namespace missing issue. see https://github.com/cypress-io/cypress/pull/30331/commits/6d7ba97c2562054e11983e8bfed576f0fa3ee37b
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* chore: updating v8 snapshot cache
* patch edgedriver and preserve dependency paths for webdriver so they are included in the binary [run ci]
* fix issues with firefox profile not being created in open mode when old profile exists from previous cypress versions where they are no longer compatible [run ci]
* address comments that came up in review [run ci]
* see if this fixes extension test [run ci]
* make sure process kill emits the exit event [run ci]
* update geckodriver to include contribution patch to types [run ci]
* fix misapplication of geckodriver package (accidentally deleted) [run ci]
* empty commit to trigger ci [run ci]
* address comments from code review [run ci]
---------
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
* feat: pass spec to beforeSpec to support better reporting on client side protocol errors
* Update packages/types/src/protocol.ts
Co-authored-by: Matt Schile <mschile@cypress.io>
* update changelog
---------
Co-authored-by: Matt Schile <mschile@cypress.io>