Tests
This commit is contained in:
parent
fd30617209
commit
7790915421
|
|
@ -21,9 +21,8 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
device:
|
device:
|
||||||
- "iPad Pro (14.4)"
|
- "iPhone 11 Pro (14.4)"
|
||||||
- "iPad Pro (9.7-inch) (14.4)"
|
- "iPad Pro (9.7-inch) (14.4)"
|
||||||
#- "iPhone 11 Pro (14.4)"
|
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
needs: test
|
needs: test
|
||||||
|
|
@ -59,7 +58,7 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
#set of different configurations of the virtual environment.
|
#set of different configurations of the virtual environment.
|
||||||
matrix:
|
matrix:
|
||||||
#api-level: [21, 29]
|
api-level: [21, 29]
|
||||||
target: [default]
|
target: [default]
|
||||||
needs: test
|
needs: test
|
||||||
steps:
|
steps:
|
||||||
|
|
|
||||||
|
|
@ -41,6 +41,13 @@ Future<void> login(FlutterDriver driver,
|
||||||
await driver.tap(find.byValueKey(localization.selfhostLogin));
|
await driver.tap(find.byValueKey(localization.selfhostLogin));
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
if (await isMobile(driver)) {
|
||||||
|
print('Login mobile...');
|
||||||
|
} else {
|
||||||
|
print('Login desktop...');
|
||||||
|
}
|
||||||
|
|
||||||
if (selfHosted) {
|
if (selfHosted) {
|
||||||
print('Tap ' + localization.selfhosted.toUpperCase());
|
print('Tap ' + localization.selfhosted.toUpperCase());
|
||||||
await driver.tap(find.text(localization.selfhosted.toUpperCase()));
|
await driver.tap(find.text(localization.selfhosted.toUpperCase()));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue