Commit 0de0106
authored
Add a test seam to skip the background-service consent dialog under automation (#1170)
The first-run "keep Executor running in the background?" dialog cannot be
answered from CDP or Playwright, so a packaged first-run boot under automation
blocks here with no way to proceed (on macOS the modal also starves the app's
main run loop). Add an EXECUTOR_TEST_AUTO_CONFIRM_BACKGROUND_SERVICE env seam,
the same pattern confirmResetState already uses: "1" keeps the service, any
other value declines, and when unset the dialog is shown as before.1 parent 94647f1 commit 0de0106
2 files changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
193 | 200 | | |
194 | 201 | | |
195 | 202 | | |
| |||
0 commit comments