Skip to content

Commit

Permalink
another e2e fix
Browse files Browse the repository at this point in the history
  • Loading branch information
willyfromtheblock committed Aug 23, 2023
1 parent 7523b1a commit 7244f76
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions test_driver/key_imported.dart
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@ void main() {
});

test('Settings, test lock into auth jail', () async {
await driver.tap(find.pageBack());
await driver.runUnsynchronized(
() async {
await driver.tap(find.pageBack());
await driver.tap(find.pageBack());
await driver.tap(find.byValueKey('appSettingsButton'));
},
Expand All @@ -200,13 +200,10 @@ void main() {
}
//tap okay for warning to go away
await driver.tap(find.text('Okay'));
await driver.runUnsynchronized(
() async {
for (var i = 1; i <= 6; i++) {
await driver.tap(find.text('1'));
}
},
);
for (var i = 1; i <= 6; i++) {
await driver.tap(find.text('1'));
}

await driver.tap(find.text('Okay'));
//auth jail open now
await driver.runUnsynchronized(
Expand Down

0 comments on commit 7244f76

Please sign in to comment.