misc: Ensure cypress tab is active before any command runs (#28334)

This commit is contained in:
Chris Breiding
2023-11-16 13:09:35 -05:00
committed by GitHub
parent 424d408e26
commit 06b5ca280c
17 changed files with 352 additions and 11 deletions

View File

@@ -10,6 +10,7 @@ _Released 11/21/2023 (PENDING)_
**Misc:**
- Browser tabs and windows other than the Cypress tab are now closed between tests in Chromium-based browsers. Addressed in [#28204](https://github.com/cypress-io/cypress/pull/28204).
- Cypress now ensures the main browser tab is active before running eaech command in Chromium-based browsers. Addressed in [#28334](https://github.com/cypress-io/cypress/pull/28334).
## 13.5.1

View File

@@ -818,7 +818,7 @@ declare namespace Cypress {
* Trigger action
* @private
*/
action: (action: string, ...args: any[]) => any[] | void
action: <T = (any[] | void)>(action: string, ...args: any[]) => T
/**
* Load files