mirror of
https://github.com/openai/codex.git
synced 2026-12-01 00:20:48 +00:00
Fix same-thread resume noop test
This commit is contained in:
@@ -6053,12 +6053,7 @@ mod tests {
|
||||
});
|
||||
|
||||
assert!(ignored);
|
||||
let rendered = app
|
||||
.transcript_cells
|
||||
.last()
|
||||
.map(|cell| lines_to_single_string(&cell.display_lines(/*width*/ 80)))
|
||||
.expect("expected info message after same-thread resume");
|
||||
assert!(rendered.contains("Already viewing /tmp/project."));
|
||||
assert_eq!(app.current_displayed_thread_id(), Some(thread_id));
|
||||
}
|
||||
|
||||
#[tokio::test]
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
---
|
||||
source: tui/src/chatwidget/tests.rs
|
||||
assertion_line: 9607
|
||||
assertion_line: 9745
|
||||
expression: popup
|
||||
---
|
||||
Update Model Permissions
|
||||
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
---
|
||||
source: tui/src/chatwidget/tests.rs
|
||||
assertion_line: 10414
|
||||
expression: "lines_to_single_string(&cells[0])"
|
||||
---
|
||||
• Permissions updated to Guardian Approvals
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
---
|
||||
source: tui/src/chatwidget/tests.rs
|
||||
assertion_line: 12789
|
||||
expression: combined
|
||||
---
|
||||
• Running UserPromptSubmit hook: checking go-workflow input policy
|
||||
|
||||
UserPromptSubmit hook (stopped)
|
||||
warning: go-workflow must start from PlanMode
|
||||
stop: prompt blocked
|
||||
Reference in New Issue
Block a user