TF-4141 Add widget tests for displaying of virtual folder: action required

This commit is contained in:
dab246
2026-01-02 11:55:13 +07:00
committed by Dat H. Pham
parent 42a838f263
commit 48f83f00f0
4 changed files with 362 additions and 5 deletions
@@ -145,7 +145,8 @@ void main() {
testWidgets(
'does not show AI Action tag',
(tester) async {
await tester.pumpWidget(
await WidgetFixtures.pumpResponsiveWidget(
tester,
WidgetFixtures.makeTestableWidget(
child: EmailTileBuilder(
presentationEmail: emailWithNeedsAction,
@@ -154,9 +155,12 @@ void main() {
isAINeedsActionEnabled: false,
),
),
logicalSize: const Size(375, 812),
);
expect(find.byType(AiActionTagWidget), findsNothing);
WidgetFixtures.resetResponsive(tester);
},
);
});