-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Passing
--browser
flag alone will launch after test selection (…
…#28538) * Add localSettings field to OpenBrowser query * Add wasBrowserSetInCLI as OpenBrowserList prop * Emit launch on mount if --browser was passed * Add entry to cli changelog * Correct typo in changelog * Add link to issue addressed * Add pull request title * Check if browser is already open before launch * Moved features section to top of file * Add reference to PR in changelog * Correct unintended completion * Add features to top of changelog * Change prop name for convention * Add isValidBrowser checkes whether a cliBrowser is valid or not and returns a boolean * Add isValidBrowser to schema * Use isValid browser creates a function launchIfBrowserSetInCli that will launch the browser if a valid browser flag was passed to the cli * Add to changelog.md * Add global launch count to keep track project launch * Make global count available to the launchPad * Add description for globalLaunchCount * Add globalCounnt to schema * Remove unused import and remove unused prop * Use launch function * Import document and use query * Add to changelog * Add to existing features section * Add to changelog * Update changelog.md * Add setter for launchCount and add tests * Update changelog * Remove extra bugfix title * Update changelog * Update changelog * Update changelog * Update changelog * Update Changelog * Update changelog * Update Changelog * Update changelog * Fix changelog for line break error * Update changelog * Refactor to create single field for launching browser * Update schema * Refactor function to make use of single field * Change launch count in beforeEach hook instead * Clean up await in function * Update changelog * Add additional optional chaining for resiliency * Use more precise browser launching query to fix silent bug * Assert that launchProject hasn't been called when browser not found * Update changelog * Update cli/CHANGELOG.md --------- Co-authored-by: Mark Noonan <mark@cypress.io> Co-authored-by: Ryan Manuel <ryanm@cypress.io> Co-authored-by: Matt Schile <mschile@cypress.io> Co-authored-by: Jennifer Shehane <shehane.jennifer@gmail.com> Co-authored-by: Jennifer Shehane <jennifer@cypress.io>
- Loading branch information
1 parent
5a6b8c4
commit efe577a
Showing
7 changed files
with
97 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
efe577a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Circle has built the
linux x64
version of the Test Runner.Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version
Run this command to install the pre-release locally:
efe577a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Circle has built the
linux arm64
version of the Test Runner.Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version
Run this command to install the pre-release locally:
efe577a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Circle has built the
win32 x64
version of the Test Runner.Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version
Run this command to install the pre-release locally:
efe577a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Circle has built the
darwin x64
version of the Test Runner.Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version
Run this command to install the pre-release locally:
efe577a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Circle has built the
darwin arm64
version of the Test Runner.Learn more about this pre-release build at https://on.cypress.io/advanced-installation#Install-pre-release-version
Run this command to install the pre-release locally: