incremental

This commit is contained in:
Anant Bhasin 2021-06-24 00:55:36 +05:30
parent 523647b42f
commit bb6e19c860
1 changed files with 1 additions and 2 deletions

View File

@ -13,8 +13,7 @@ describe('Settings screen', () => {
let alertButtonType; let alertButtonType;
before(async() => { before(async() => {
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true }); await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
const deviceType = device.getPlatform(); ({ alertButtonType } = platformTypes[device.getPlatform()]);
alertButtonType = platformTypes[deviceType].alertButtonType;
await navigateToLogin(); await navigateToLogin();
await login(testuser.username, testuser.password); await login(testuser.username, testuser.password);
await waitFor(element(by.id('rooms-list-view'))).toBeVisible().withTimeout(10000); await waitFor(element(by.id('rooms-list-view'))).toBeVisible().withTimeout(10000);