Hi Sander, Tried that too, but no luck. On Thursday, February 14, 2019 at 9:32:05 PM UTC+5:30, hemachandran R.S wrote: > > After login, it is not waiting for the element to visible. It executes > next line after "browser.wait()" and throwing "No such element exception". > > Node version : V10.5.1 > Jasmine: 3.3.1 > Protractor: 5.4.2 > > > > this.clickSubmitBtnSuccess = async function(){ > await element(by.buttonTextSimple('Sign In')).click(); > browser.wait(EC.visibilityOf( element(by.xpath( > '//app-welcome-panel/div/h2'))), 20000); > expect(await element(by.xpath('//app-welcome-panel/div/h2')).getText()). > toEqual('Welcome, Auto Test3'); > } > >
-- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to angular+unsubscr...@googlegroups.com. To post to this group, send email to angular@googlegroups.com. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.