Skip to content

Commit

Permalink
the joys of e2e testing
Browse files Browse the repository at this point in the history
  • Loading branch information
willyfromtheblock committed Aug 23, 2023
1 parent a135dca commit 7523b1a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions test_driver/key_new.dart
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,9 @@ void main() {
await driver.tap(find.byType('TextField'));
await driver.enterText('EUR');
await driver.tap(find.text('Euro'));
await driver.runUnsynchronized(() async {
await driver.tap(find.pageBack());
await driver.tap(find.pageBack());
await driver.tap(find.pageBack());
await driver.tap(find.pageBack());
});
await driver.tap(find.pageBack());
await driver.tap(find.pageBack());
await driver.tap(find.pageBack());
await driver.runUnsynchronized(() async {
await driver.waitFor(find.text('0.00 EUR'));
});
Expand Down

0 comments on commit 7523b1a

Please sign in to comment.