fix action sheet swipe 02-room
This commit is contained in:
parent
23e029d836
commit
80f4f682e3
|
@ -478,6 +478,8 @@ describe('Room screen', () => {
|
||||||
.toExist()
|
.toExist()
|
||||||
.withTimeout(2000);
|
.withTimeout(2000);
|
||||||
await expect(element(by.id('action-sheet-handle'))).toBeVisible();
|
await expect(element(by.id('action-sheet-handle'))).toBeVisible();
|
||||||
|
// open the action-sheet, then swipe the scroll inside the action-sheet
|
||||||
|
await element(by.id('action-sheet-handle')).swipe('up', 'fast', 0.5);
|
||||||
await element(by.id('action-sheet')).swipe('up', 'fast', 0.5);
|
await element(by.id('action-sheet')).swipe('up', 'fast', 0.5);
|
||||||
await sleep(300); // wait for animation
|
await sleep(300); // wait for animation
|
||||||
await waitFor(element(by[textMatcher]('Delete')))
|
await waitFor(element(by[textMatcher]('Delete')))
|
||||||
|
|
Loading…
Reference in New Issue