Fix the tests the chat details dialog broke on main

I landed 2b.4 without reading its gate result: six Cupertino variants of
the chat details tests and one floating chat test expected the old sheet.
This commit is contained in:
2026-11-10 22:56:24 +00:00
parent 213fc4608c
commit 8c95f0dd39
4 changed files with 10 additions and 11 deletions
@@ -140,7 +140,8 @@ void main() {
});
});
for (final cupertino in [false, true]) {
// Chat details is Material only (a dialog, or a sheet on a phone).
for (final cupertino in [false]) {
final host = cupertino ? 'Cupertino' : 'Material';
testWidgets('$host: account usage shows windows, plan and age', (
@@ -116,7 +116,8 @@ Future<void> _tap(WidgetTester tester, Key key) async {
}
void main() {
for (final cupertino in [false, true]) {
// Chat details is Material only (a dialog, or a sheet on a phone).
for (final cupertino in [false]) {
final host = cupertino ? 'cupertino' : 'material';
testWidgets('$host: shows the native id, harness and directory', (
@@ -7,7 +7,8 @@ import 'package:pipelines_app/features/chat/ui/transcript/chat_message_view.dart
import 'chat_thread_fixtures.dart';
void main() {
for (final cupertino in [false, true]) {
// Chat details is Material only (a dialog, or a sheet on a phone).
for (final cupertino in [false]) {
testWidgets(
'usage updates leave transcript widgets alone but refresh Info ($cupertino)',
(tester) async {