test(gui): the window says assistant, so the tests that read its words say it too
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
1 parent
657766ae5a
commit
38e95e9ea6
2 files changed
+3
-3
No files matched your search
@@ -241,7 +241,7 @@ fn books_that_keep_their_settings_say_where_facts_come_from() {
|
|||||||
let h = company(&dir);
|
let h = company(&dir);
|
||||||
assert!(shows(
|
assert!(shows(
|
||||||
&h,
|
&h,
|
||||||
"No company facts set yet: the agent records them as you give them."
|
"No company facts set yet: your assistant records them as you give them."
|
||||||
));
|
));
|
||||||
drop(h);
|
drop(h);
|
||||||
let mut s = Store::open(&dir.0.join("books-data")).unwrap();
|
let mut s = Store::open(&dir.0.join("books-data")).unwrap();
|
||||||
|
|||||||
@@ -2699,10 +2699,10 @@ fn the_docks_height_and_layout_are_the_apps_one_for_every_tab() {
|
|||||||
h.state_mut().view_mut(i).unwrap().dock_mut().open = true;
|
h.state_mut().view_mut(i).unwrap().dock_mut().open = true;
|
||||||
}
|
}
|
||||||
h.run_steps(4);
|
h.run_steps(4);
|
||||||
let top = |h: &Harness<'_, App>| h.get_by_label_contains(" Agent").rect().top();
|
let top = |h: &Harness<'_, App>| h.get_by_label_contains(" Assistant").rect().top();
|
||||||
let before = top(&h);
|
let before = top(&h);
|
||||||
// Resized in alpha: dragged up by a hundred points.
|
// Resized in alpha: dragged up by a hundred points.
|
||||||
let x = h.get_by_label_contains(" Agent").rect().left() + 300.0;
|
let x = h.get_by_label_contains(" Assistant").rect().left() + 300.0;
|
||||||
let panel_top = egui::containers::panel::PanelState::load(&h.ctx, egui::Id::new("dock-open"))
|
let panel_top = egui::containers::panel::PanelState::load(&h.ctx, egui::Id::new("dock-open"))
|
||||||
.expect("the dock's panel")
|
.expect("the dock's panel")
|
||||||
.outer_rect
|
.outer_rect
|
||||||
|
|||||||
Reference in new issue
Block a user