diff options
| author | Christopher Warner <cwarner@kernelcode.com> | 2026-10-10 18:40:56 -0400 |
|---|---|---|
| committer | Christopher Warner <cwarner@kernelcode.com> | 2026-10-10 18:40:56 -0400 |
| commit | 50b9b2b4c0db6a5e1d9dd511d062d99ae2e11dd3 (patch) | |
| tree | 612f1421cb589e957598aee175ac90e1ee106487 /tests/cli.test.sh | |
| parent | ef0165cc6cbe001997e5d05af5de6d4849481d7a (diff) | |
| download | iphone-notes-50b9b2b4c0db6a5e1d9dd511d062d99ae2e11dd3.tar.gz iphone-notes-50b9b2b4c0db6a5e1d9dd511d062d99ae2e11dd3.tar.bz2 iphone-notes-50b9b2b4c0db6a5e1d9dd511d062d99ae2e11dd3.tar.xz iphone-notes-50b9b2b4c0db6a5e1d9dd511d062d99ae2e11dd3.zip | |
fix: run create/status headless without a visible browser
Use a saved storage-state session for note ops so only `login` opens a
window; launchPersistentContext was flashing Chromium on Linux.
Co-authored-by: Cursor <cursoragent@cursor.com>
Diffstat (limited to 'tests/cli.test.sh')
| -rwxr-xr-x | tests/cli.test.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/cli.test.sh b/tests/cli.test.sh index 2694938..aefb371 100755 --- a/tests/cli.test.sh +++ b/tests/cli.test.sh @@ -10,6 +10,8 @@ pass() { echo "ok: $*"; } out="$("${CLI[@]}" help 2>&1)" || fail "help exited non-zero" [[ "$out" == *"icloud-note create"* ]] || fail "help missing create usage" +[[ "$out" == *"headless"* ]] || fail "help should say create/status are headless" +[[ "$out" != *"--headed"* ]] || fail "help must not advertise --headed" pass "help" set +e |
