Correct tests

This commit is contained in:
Hillel Coren 2021-08-15 20:57:02 +03:00
parent fbe6ce9365
commit 49592731ba
1 changed files with 3 additions and 3 deletions

View File

@ -49,8 +49,8 @@ Future<void> login(FlutterDriver driver,
} }
if (selfHosted) { if (selfHosted) {
print('Tap ' + localization.selfhosted.toUpperCase()); print('Tap ' + localization.selfhosted);
await driver.tap(find.text(localization.selfhosted.toUpperCase())); await driver.tap(find.text(localization.selfhosted));
} }
print('Fill in email/password'); print('Fill in email/password');
@ -96,7 +96,7 @@ Future<void> logout(FlutterDriver driver, TestLocalization localization) async {
await driver.tap(find.text(localization.ok.toUpperCase())); await driver.tap(find.text(localization.ok.toUpperCase()));
// Should be in the login screen now // Should be in the login screen now
await driver.waitFor(find.text(localization.selfhosted.toUpperCase())); await driver.waitFor(find.text(localization.selfhosted));
} }
Future<void> viewSection( Future<void> viewSection(