Small fix on login test
This commit is contained in:
parent
2aa042485c
commit
f717c716c4
|
|
@ -85,7 +85,7 @@ Future<void> logout(FlutterDriver driver, TestLocalization localization,
|
|||
await driver.tap(find.text(localization.ok.toUpperCase()));
|
||||
|
||||
// Should be in the login screen now
|
||||
await driver.waitFor(find.text(localization.login.toUpperCase()));
|
||||
await driver.waitFor(find.text(localization.selfhosted.toUpperCase()));
|
||||
}
|
||||
|
||||
Future<void> viewSection({FlutterDriver driver, String name}) async {
|
||||
|
|
@ -162,7 +162,6 @@ Future<void> testArchiveAndDelete(
|
|||
await driver.waitFor(find.text(archivedMessage));
|
||||
//await driver.waitFor(find.text(localization.archived));
|
||||
|
||||
|
||||
print('Restore record');
|
||||
await selectAction(driver, localization.restore);
|
||||
await driver.waitFor(find.text(restoredMessage));
|
||||
|
|
@ -173,7 +172,6 @@ Future<void> testArchiveAndDelete(
|
|||
await driver.waitFor(find.text(deletedMessage));
|
||||
//await driver.waitFor(find.text(localization.deleted));
|
||||
|
||||
|
||||
print('Restore record');
|
||||
await selectAction(driver, localization.restore);
|
||||
await driver.waitFor(find.text(restoredMessage));
|
||||
|
|
|
|||
Loading…
Reference in New Issue