* 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>
* fix: change default options for sourceMaps inside WBIP
* add better error handling to @cypress/webpack-preprocessor when using typescript 5
* chore: update snapshots for protocol spec
* move options downstream into @cypress/webpack-preprocessor and see what fails
* address comments from code review
* misc: display AUT bar in dark mode
* changelog entry
* a few missed updates
* Fix the playground tests
* Update tests to be more sensible
* Ensure bg-white is not set for the runner ui bakcground of aut
* fix: make sure to remove prerequests when bidi interceptor is removed and requests are still in flight from the previous spec/tab [run ci]
* fix changelog
* misc: Begin code for moving viewport dimensions and removing dropdown
* Update styles for viewport size + scale and handle component testing views
* add changelog
* fix changelog link
* fix issue link again!
* misc: begin reworking the browser dropdown
* Update UIs for dropdowns to work right in both modes
* changelog entry
* remove assertions about browser dropdown being visible in tiny widths
* update changelog entry
* Add zindex of 5 for the aut-panel so it doesn't ever cover the reporter-panel
* Just pass zindex to style - apparently tailwind css option doesn't want to work........
* Update aut height to new height
* Move zindex to input instead of main aut-url container to prevent screenshotting from breaking.
* Add a comment, maybe it will help someone one day
* set z-index back to 51 to be above studio URL panel, but runner to 60 to be above that also
* zindex
* more z index changes!!1
* revert the resizable panel changes - make zindex of input dynamic!
* Fix browser dropdown in AutomationMissing UI
* misc: Add some missing types + Convert js driver/query tests to ts
* changelog entry
* reuse partial
* Update cli/CHANGELOG.md
* Update call to querySelector to assign an identifier when checking for null
* 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