fix action sheet swipe 02-room

This commit is contained in:
Reinaldo Neto 2023-10-06 12:17:11 -03:00
parent 23e029d836
commit 80f4f682e3
1 changed files with 2 additions and 0 deletions

View File

@ -478,6 +478,8 @@ describe('Room screen', () => {
.toExist()
.withTimeout(2000);
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 sleep(300); // wait for animation
await waitFor(element(by[textMatcher]('Delete')))