Skip to content

Commit

Permalink
try to pump twice
Browse files Browse the repository at this point in the history
  • Loading branch information
Grodien committed Nov 11, 2024
1 parent dee27b3 commit e1370b6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions das_client/integration_test/test/train_search_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import '../app_test.dart';
import '../util/test_utils.dart';

void main() {
group('train screen tests', () {
group('train search screen tests', () {

testWidgets('test default values', (tester) async {
// Load app widget.
Expand Down Expand Up @@ -65,7 +65,7 @@ void main() {
expect(trainNumberText, findsOneWidget);

await tester.enterText(trainNumberText, '');

await tester.pump(Duration(milliseconds: 100));
await tester.pumpAndSettle();

// check that the primary button is disabled
Expand Down Expand Up @@ -168,7 +168,7 @@ void main() {
expect(trainNumberText, findsOneWidget);

await tester.enterText(trainNumberText, '1234');

await tester.pump(Duration(milliseconds: 100));
await tester.pumpAndSettle();

// check that the primary button is disabled
Expand Down

0 comments on commit e1370b6

Please sign in to comment.