diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-06-09 13:24:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-09 13:24:39 -0400 |
commit | ff690b0ab44d1d8d8e5ecbc320a5bf752d5feacc (patch) | |
tree | 8c96368aabab34082a4233320917bcd4e0aa3a8e /cli/tests | |
parent | 748a102919a35d7f99db35f558e87e0904b1890b (diff) |
chore: fix flaky stdio_streams_are_locked_in_permission_prompt (#19443)
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/integration/run_tests.rs | 1 | ||||
-rw-r--r-- | cli/tests/testdata/run/stdio_streams_are_locked_in_permission_prompt/worker.js | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs index 2accd5444..3fa2f9896 100644 --- a/cli/tests/integration/run_tests.rs +++ b/cli/tests/integration/run_tests.rs @@ -4370,6 +4370,7 @@ fn stdio_streams_are_locked_in_permission_prompt() { std::thread::sleep(Duration::from_millis(50)); // give the other thread some time to output console.write_line_raw("invalid"); console.expect("Unrecognized option."); + console.expect("Allow? [y/n/A] (y = yes, allow; n = no, deny; A = allow all write permissions)"); console.write_line_raw("y"); console.expect("Granted write access to"); diff --git a/cli/tests/testdata/run/stdio_streams_are_locked_in_permission_prompt/worker.js b/cli/tests/testdata/run/stdio_streams_are_locked_in_permission_prompt/worker.js index 6d67c51a2..1e5a632d3 100644 --- a/cli/tests/testdata/run/stdio_streams_are_locked_in_permission_prompt/worker.js +++ b/cli/tests/testdata/run/stdio_streams_are_locked_in_permission_prompt/worker.js @@ -1,2 +1 @@ -console.clear(); console.log("Are you sure you want to continue?"); |