custom status
This commit is contained in:
parent
0b402489d1
commit
62bb88429f
|
@ -29,8 +29,9 @@ describe('Status screen', () => {
|
|||
|
||||
describe('Usage', async() => {
|
||||
it('should change status', async() => {
|
||||
await sleep(1000);
|
||||
await element(by.id('status-view-busy')).tap();
|
||||
sleep(1000);
|
||||
await sleep(1000);
|
||||
await expect(element(by.id('status-view-current-busy'))).toExist();
|
||||
});
|
||||
|
||||
|
@ -39,6 +40,7 @@ describe('Status screen', () => {
|
|||
await sleep(1000);
|
||||
await element(by.id('status-view-submit')).tap();
|
||||
await waitForToast();
|
||||
await waitFor(element(by.label('status-text-new').withAncestor(by.id('sidebar-custom-status')))).toBeVisible().withTimeout(2000);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue