Restore ordinary root launches with query parameters and verify Back intent
This commit is contained in:
@@ -16,7 +16,7 @@ import '../features/runs/ui/run_detail_graph_support.dart';
|
||||
import '../features/runs/ui/run_detail_visit_support.dart';
|
||||
|
||||
/// On a wide split window (unfolded foldable, desktop) the real run detail
|
||||
/// and the stage page it opens keep the shell's tab bar at the bottom right
|
||||
/// and the stage page it opens keep the shell's tab bar at the bottom left
|
||||
/// and float their own tabs above it with a gap; the stage page opens inside
|
||||
/// the detail pane instead of covering the shell.
|
||||
void main() {
|
||||
@@ -90,7 +90,7 @@ void main() {
|
||||
find.byKey(const ValueKey('list-detail-list')),
|
||||
);
|
||||
var main = shellPill(tester);
|
||||
expect(main.center.dx, closeTo(list.center.dx, 0.5));
|
||||
expect(main.left, closeTo(list.left + kFloatingBarMargin, 0.5));
|
||||
expect(main.bottom, closeTo(800 - kFloatingBarMargin, 0.5));
|
||||
|
||||
final runTabs = pillOf(tester, find.byKey(const Key('run-detail-tabs')));
|
||||
@@ -118,7 +118,7 @@ void main() {
|
||||
final back = tester.getRect(find.byKey(const Key('run-visit-back')));
|
||||
expect(back.left, greaterThanOrEqualTo(body.left));
|
||||
main = shellPill(tester);
|
||||
expect(main.center.dx, closeTo(list.center.dx, 0.5));
|
||||
expect(main.left, closeTo(list.left + kFloatingBarMargin, 0.5));
|
||||
final visitTabs = pillOf(
|
||||
tester,
|
||||
find.byKey(const Key('run-visit-tabs')).last,
|
||||
|
||||
Reference in New Issue
Block a user