mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-11-22 01:42:17 +01:00
Fix gap deload tile test label lookup
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
bc4e590822
commit
a5ec96f1b8
@ -38,7 +38,8 @@ void main() {
|
|||||||
expect(find.byIcon(Icons.arrow_downward), findsOneWidget);
|
expect(find.byIcon(Icons.arrow_downward), findsOneWidget);
|
||||||
expect(_decoration(tester, '20.0kg'), TextDecoration.lineThrough);
|
expect(_decoration(tester, '20.0kg'), TextDecoration.lineThrough);
|
||||||
expect(find.textContaining('3×5×17.5kg'), findsOneWidget);
|
expect(find.textContaining('3×5×17.5kg'), findsOneWidget);
|
||||||
expect(find.bySemanticsLabel('Squat deloaded after a break'), findsOne);
|
final arrow = tester.widget<Icon>(find.byIcon(Icons.arrow_downward));
|
||||||
|
expect(arrow.semanticLabel, 'Squat deloaded after a break');
|
||||||
});
|
});
|
||||||
|
|
||||||
testWidgets('a reps-only cut strikes the old reps', (tester) async {
|
testWidgets('a reps-only cut strikes the old reps', (tester) async {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user