fix action sheet swipe 05-threads

This commit is contained in:
Reinaldo Neto 2023-10-06 12:49:13 -03:00
parent 80f4f682e3
commit dcf6c76154
1 changed files with 2 additions and 0 deletions

View File

@ -237,6 +237,8 @@ describe('Threads', () => {
.withTimeout(5000);
await element(by.id(`message-thread-button-${thread}`)).tap();
await tryTapping(element(by[textMatcher]('replied')).atIndex(0), 2000, true);
// 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 element(by[textMatcher]('Delete')).atIndex(0).tap();