Fix join public room

This commit is contained in:
Diego Mello 2023-02-16 10:57:42 -03:00
parent ea2360754b
commit 8fd07c18d5
1 changed files with 3 additions and 0 deletions

View File

@ -123,6 +123,9 @@ describe('Join public room', () => {
it('should join room', async () => { it('should join room', async () => {
await element(by.id('room-view-join-button')).tap(); await element(by.id('room-view-join-button')).tap();
await tapBack(); await tapBack();
await waitFor(element(by.id(`rooms-list-view-item-${room}`)))
.toBeVisible()
.withTimeout(2000);
await element(by.id(`rooms-list-view-item-${room}`)).tap(); await element(by.id(`rooms-list-view-item-${room}`)).tap();
await waitFor(element(by.id('room-view'))) await waitFor(element(by.id('room-view')))
.toBeVisible() .toBeVisible()