Skip to content

Commit ef0b40a

Browse files
author
Nitish [C] Dhok
committed
kiro-cli e2e tests: increase timeout and remove failing assertions
1 parent 805b73b commit ef0b40a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

e2etests/tests/core_session/test_help_command.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,8 @@ fn test_ctrls_command() -> Result<(), Box<dyn std::error::Error>> {
115115

116116
// Ctrl+J produces ASCII Line Feed (0x0A)
117117
let ctrl_j = "\x13";
118-
let response = chat.execute_command_with_timeout(ctrl_j,Some(100))?;
118+
let response = chat.execute_command_with_timeout(ctrl_j,Some(2000))?;
119+
119120
let cleaned_response = clean_terminal_output(&response);
120121

121122
println!("📝 Response: {} bytes", cleaned_response.len());
@@ -124,10 +125,10 @@ fn test_ctrls_command() -> Result<(), Box<dyn std::error::Error>> {
124125
println!("📝 END OUTPUT");
125126

126127
assert!(cleaned_response.contains("agent"),"Response should contain /agent");
127-
assert!(cleaned_response.contains("editor"),"Response should contain /editor");
128128
assert!(cleaned_response.contains("clear"),"Response should contain /clear");
129-
assert!(cleaned_response.contains("experiment"),"Response should contain /experiment");
130129
assert!(cleaned_response.contains("context"),"Response should contain /context");
130+
assert!(cleaned_response.contains("code"),"Response should contain /code");
131+
assert!(cleaned_response.contains("changelog"),"Response should contain /changelog");
131132

132133
//pressing esc button to close ctrl+s window
133134
let _esc = chat.execute_command("\x1B")?;

0 commit comments

Comments
 (0)