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;
before(async() => {
await device.launchApp({ permissions: { notifications: 'YES' }, delete: true });
const deviceType = device.getPlatform();
alertButtonType = platformTypes[deviceType].alertButtonType;
({ alertButtonType } = platformTypes[device.getPlatform()]);
await navigateToLogin();
await login(testuser.username, testuser.password);
await waitFor(element(by.id('rooms-list-view'))).toBeVisible().withTimeout(10000);