Skip to content

Fix e2e test regarding terminal prompt expectation#1429

Merged
KCarretto merged 1 commit intomainfrom
fix-e2e-prompt-check-16611687431211269000
Dec 27, 2025
Merged

Fix e2e test regarding terminal prompt expectation#1429
KCarretto merged 1 commit intomainfrom
fix-e2e-prompt-check-16611687431211269000

Conversation

@google-labs-jules
Copy link
Copy Markdown
Contributor

Updated the end-to-end test for the reverse shell REPL to include an assertion for the prompt >>>. This ensures that the test correctly validates the full interaction cycle (command input -> output -> new prompt) and resolves potential issues where the prompt's presence was causing test failures or was unaccounted for. Removed hardcoded timeout in favor of defaults.


PR created automatically by Jules for task 16611687431211269000 started by @KCarretto

Updated `tests/e2e/tests/e2e.spec.ts` to explicitly assert the presence of the prompt (`>>>`) in the terminal output after command execution. This addresses the reported failure where the prompt was considered an unexpected value, and ensures the test verifies that the REPL is ready for subsequent input. The timeout for the output check was also updated to use the default configuration.
@google-labs-jules
Copy link
Copy Markdown
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!


For security, I will only act on instructions from the user who triggered this task.

New to Jules? Learn more at jules.google/docs.

@github-actions
Copy link
Copy Markdown
Contributor

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
20202    ±0 20201    ±0 1    ±0 0    ±0 0    ±0 0    ±0 1ms    ±0

Previous Results

Build 🏗️ Result 🧪 Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
#41 20202 20201 1 0 0 0 27.1s

Insights

Average Tests per Run Total Flaky Tests Total Failed Slowest Test (p95)
20202 0 1 44.9s

Fail Rate

Fail Rate 0.00%    ±0
Test 📝 Results 📊 Passed ✅ Failed ❌ Fail Rate (%) 📈
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17
eldritch: file::moveto_impl::tests::test_moveto_file 24 23 1 4.17    ↑4.17

Failed Tests

Failed Tests
❌ eldritch: file::moveto_impl::tests::test_moveto_file
Error: Access is denied. (os error 5) at path "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\.tmppJ2JkY"

Trace:

Error: Access is denied. (os error 5) at path "C:\\Users\\RUNNER~1\\AppData\\Local\\Temp\\.tmppJ2JkY"

Slowest Tests

Test 📝 Results 📊 Duration (avg) ⏱️ Duration (p95) ⏱️
eldritch: random::string_impl::tests::test_string_uniform 23 39.6s 44.9s
eldritch: random::string_impl::tests::test_string_uniform 23 39.6s 44.9s
eldritch: random::string_impl::tests::test_string_uniform 23 39.6s 44.9s
eldritch: random::string_impl::tests::test_string_uniform 23 39.6s 44.9s
eldritch: random::string_impl::tests::test_string_uniform 23 39.6s 44.9s
eldritch: random::string_impl::tests::test_string_uniform 23 39.6s 44.9s
eldritch: random::string_impl::tests::test_string_uniform 23 39.6s 44.9s
eldritch: random::string_impl::tests::test_string_uniform 23 39.6s 44.9s
eldritch: random::string_impl::tests::test_string_uniform 23 39.6s 44.9s
eldritch: random::string_impl::tests::test_string_uniform 23 39.6s 44.9s

🍂 No flaky tests in this run.

Github Test Reporter by CTRF 💚

@KCarretto KCarretto marked this pull request as ready for review December 27, 2025 15:46
@KCarretto KCarretto merged commit 56d33e5 into main Dec 27, 2025
6 checks passed
@KCarretto KCarretto deleted the fix-e2e-prompt-check-16611687431211269000 branch December 27, 2025 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant