Commit efe577a
feat: Passing
* 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>--browser flag alone will launch after test selection (#28538)1 parent 5a6b8c4 commit efe577a
File tree
7 files changed
+97
-3
lines changed- cli
- packages
- data-context/src/actions
- graphql
- schemas
- src/schemaTypes/objectTypes
- launchpad
- cypress/e2e
- src
- setup
7 files changed
+97
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
92 | 99 | | |
93 | 100 | | |
94 | 101 | | |
| |||
127 | 134 | | |
128 | 135 | | |
129 | 136 | | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
130 | 145 | | |
131 | 146 | | |
132 | 147 | | |
| |||
284 | 299 | | |
285 | 300 | | |
286 | 301 | | |
| 302 | + | |
287 | 303 | | |
288 | 304 | | |
289 | 305 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1444 | 1444 | | |
1445 | 1445 | | |
1446 | 1446 | | |
| 1447 | + | |
| 1448 | + | |
| 1449 | + | |
| 1450 | + | |
| 1451 | + | |
1447 | 1452 | | |
1448 | 1453 | | |
1449 | 1454 | | |
| |||
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
36 | 57 | | |
37 | 58 | | |
38 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
| |||
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
17 | 38 | | |
18 | 39 | | |
19 | 40 | | |
| |||
37 | 58 | | |
38 | 59 | | |
39 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
40 | 65 | | |
41 | 66 | | |
42 | 67 | | |
| |||
55 | 80 | | |
56 | 81 | | |
57 | 82 | | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
58 | 86 | | |
59 | 87 | | |
60 | 88 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| 135 | + | |
135 | 136 | | |
136 | 137 | | |
137 | 138 | | |
| |||
246 | 247 | | |
247 | 248 | | |
248 | 249 | | |
249 | | - | |
| 250 | + | |
250 | 251 | | |
251 | 252 | | |
252 | 253 | | |
253 | | - | |
| 254 | + | |
254 | 255 | | |
255 | 256 | | |
256 | 257 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
| 25 | + | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
45 | 55 | | |
| 56 | + | |
46 | 57 | | |
47 | 58 | | |
48 | 59 | | |
| |||
106 | 117 | | |
107 | 118 | | |
108 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
109 | 130 | | |
110 | 131 | | |
111 | 132 | | |
| |||
126 | 147 | | |
127 | 148 | | |
128 | 149 | | |
| 150 | + | |
129 | 151 | | |
130 | 152 | | |
131 | 153 | | |
0 commit comments