by.label to by.text
This commit is contained in:
parent
0465f0ae87
commit
94fa286bcb
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue