by.label to by.text

This commit is contained in:
Anant Bhasin 2021-06-30 18:39:14 +05:30
parent 0465f0ae87
commit 94fa286bcb
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ describe('Discussion', () => {
await navigateToRoom();
await element(by.id('messagebox-actions')).tap();
await waitFor(element(by.id('action-sheet'))).toExist().withTimeout(2000);
await element(by.label('Create Discussion')).atIndex(0).tap();
await element(by.text('Create Discussion')).atIndex(0).tap();
await waitFor(element(by.id('create-discussion-view'))).toExist().withTimeout(2000);
await element(by.id('multi-select-discussion-name')).replaceText(discussionName);
await waitFor(element(by.id(`create-discussion-submit`))).toExist().withTimeout(10000);