* feat: extend Cypress.Keyboard.Keys and cy.press to support all keyboard keys
* Update cli/types/cypress.d.ts
* reference urls for codepoints
* type defs for expanded keys; tests
* changelog
* rm modifier keys temporarily - see WIP @ feat/key-press-modifier-keys
* Add pr link to changelog
* reduce repetition with key codes; remove unsupported capslock keycode
* only "key" special function keys in Cypress.Keyboard.Keys - otherwise, support any single character even if multiple codepoints
* do not refocus on f6 - f6 behavior keyup is indeterminate, so do not assert in that special case
* clean up keyboard key types, clean up duplicate def from merge
* various cleanup - wip - need multi-codepoint fix
* support multi-codepoint characters
* properly dispatch each part of a multipart utf-8 character
* fix import
* fix dtslint
* tscheck
* fix spacing
* Apply suggestions from code review
* changelog
* changelog
* ensure input actions are released in bidi; add test for keypress and input events for firefox
* fix keypress & input events in chrome
* consistent debug
* rm debug logging from input fixture
* some typos, changelog version
* fix toSupportedKey guard fn to properly reject non-strings
* add Space as named key, remove warnings re legacy firefox
* fix space
* support single-digit number keys
* remove support for F-keys
* add test cmd to types pkg
* rm failing vitest project config
* fix changelog
* clean up types a bit for single digit numbers
* more updates
---------
Co-authored-by: Cacie Prins <cacie@cypress.io>
Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com>
* breaking: update execa from 1.0.0 to 4.1.0 which breaks the yielded cy.exec() object from yielding property code and instead yields exitCode
* fix launchpad tests on linux
* Update cli/CHANGELOG.md
---------
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* chore: bump firefox version we test against to 141
* account for unspecified sameSite which is now available in firefox 140
* fix expected error string for invalid cookie
* override FORCE_FIREFOX_CDP firefox 141
* fix cdp override in ff 141+
* maybe fix cookeie system tests? seem to time out locally
* set family as well as name
* fix system tests fore ff 141
* fix ff deprecation
* rm erroneous err param
* assume firefox is modern in cookies driver e2e test
* Update system-tests/lib/system-tests.ts
* we do still run tests against firefox 134
---------
Co-authored-by: Bill Glesias <bglesias@gmail.com>
Co-authored-by: Cacie Prins <cacieprins@users.noreply.github.com>
Co-authored-by: Cacie Prins <cacie@cypress.io>
* internal: (studio) allow tests to be created in specs that have .only tests
* fix stop-only
* add system test spec, add test, fix bugs
* clean up unused logic
* fix issue
* another fix
* refactors
* update variable name, consolidate logic
---------
Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
* breaking: Move getSelector, getSelectorPriority, and reset to private methods on ElementSelector API
BREAKING: Move getSelector, getSelectorPriority, and reset to private methods on ElementSelector API
* Update getSelectorPriority back to public method
* Update error message + changelog for removed method
* mention this PR in changelog
* 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
---------
Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com>
Co-authored-by: Ryan Manuel <ryanm@cypress.io>
Co-authored-by: cypress-bot[bot] <+cypress-bot[bot]@users.noreply.github.com>
* feat: Rename SelectorPriority API to ElementSelector API
BREAKING: Rename SelectorPriority API to ElementSelector API
* bump unique-selector + remove restriction on type of prop
* rename file + remove test
* rename and add types to files
* save file
* fix types
* Add error when Cypress.SelectorPlayground is called to suggest renaming
* Add better description of ElementSelector API
* Error on invalid selector priority types
* changelog entry
* Update types to match exact type of selectorPriority
* remove semicolon
* Add feature description for separate feature
* remove the other semicolon
* Update types to use official cypress types
* Add other issue that this PR resolves.
* add name to selector priority
* alphabetize strings in selectorPriority types
* 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>
* 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>
* 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>
* breaking: Remove deprecated cy.stub(obj, method, fn) signature
BREAKING: Remove deprecated cy.stub(obj, method, fn) signature
* remove the code that supports 3 args of cy.stub
* changelog entry
* remove test for support of 3 arg signature
* link issue in changelog