This commit is contained in:
Hillel Coren 2021-05-05 00:15:48 +03:00
parent fd30617209
commit 7790915421
2 changed files with 9 additions and 3 deletions

View File

@ -21,9 +21,8 @@ jobs:
strategy:
matrix:
device:
- "iPad Pro (14.4)"
- "iPhone 11 Pro (14.4)"
- "iPad Pro (9.7-inch) (14.4)"
#- "iPhone 11 Pro (14.4)"
fail-fast: false
runs-on: macos-latest
needs: test
@ -59,7 +58,7 @@ jobs:
strategy:
#set of different configurations of the virtual environment.
matrix:
#api-level: [21, 29]
api-level: [21, 29]
target: [default]
needs: test
steps:

View File

@ -41,6 +41,13 @@ Future<void> login(FlutterDriver driver,
await driver.tap(find.byValueKey(localization.selfhostLogin));
}
*/
if (await isMobile(driver)) {
print('Login mobile...');
} else {
print('Login desktop...');
}
if (selfHosted) {
print('Tap ' + localization.selfhosted.toUpperCase());
await driver.tap(find.text(localization.selfhosted.toUpperCase()));