Fix the 11 failing application tests: two product fixes, stale fixtures
Product: - Settings jump index scrolls instead of overflowing a short wide window (overflowed by 48 px at 1200x800 once Open in chat added a section). - Chat: a route to the retained workspace's active pane shows it in the same frame again;ec3c1e4cdeferred it a frame behind a post-frame callback. Tests updated to intended behaviour: - first-run walkthrough (30ba70ad): seed a device that has seen it and was offered it for the fixture server; - Output section open by default (22af093e); - chat page Back closes its own route explicitly (19b1d132); - open-chat sync (c48a1559): answer chat_open_workspace statefully; - keyed session list (0a51add9) no longer re-reads chat_sessions on open. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -9,7 +9,7 @@ import 'package:pipelines_app/features/pipelines/ui/run_pipeline_wording.dart';
|
||||
|
||||
import '../core/transport/pipelines_client_test.dart' show FakeChannel;
|
||||
import '../features/pipelines/fixtures.dart';
|
||||
import 'pipelines_app_test.dart' show webServer;
|
||||
import 'pipelines_app_test.dart' show walkthroughDonePreferences, webServer;
|
||||
import 'pipelines_replies.dart';
|
||||
|
||||
List<Map<String, dynamic>> requestsOf(FakeChannel channel, String type) =>
|
||||
@@ -55,7 +55,11 @@ Future<void> reply(
|
||||
|
||||
void main() {
|
||||
// The Run dialog reads the device's pending launch store before it opens.
|
||||
setUp(() => SharedPreferences.setMockInitialValues({}));
|
||||
// A device that has seen the first-run walkthrough has no dialog over the
|
||||
// Pipelines page to absorb the row taps.
|
||||
setUp(
|
||||
() => SharedPreferences.setMockInitialValues(walkthroughDonePreferences()),
|
||||
);
|
||||
testWidgets('an accepted launch opens the returned run and re-reads the '
|
||||
'runs list exactly once', (tester) async {
|
||||
tester.view.physicalSize = const Size(1100, 900);
|
||||
|
||||
Reference in New Issue
Block a user