Open danffie opened 4 years ago
Save yourself months of pain and convert test code to https://www.cypress.io/
@danffie
Try setting false for non-angular app page
browser.waitForAngularEnabled(false);
Try setting true for angular app page
browser.waitForAngularEnabled(true);
Our application is moving old angularJS to new angular. So we wrap the old angularjs with new angular to make it a hybrid app. However, the protractor seems even cannot identify the login page element. return browser.wait(protractor.ExpectedConditions.presenceOf(element(by.model('vm.username'))), 60000, "the desired element is not in dom")
Bug report
Node Version:
8.16.2
Protractor Version:
5.4.3
Angular Version:
1.5.8
+8.2.14
Browser(s):
chrome
Operating System and Version
mac
andwindows 10
Your protractor configuration file
A relevant example test
Output from running the test: stuck
Steps to reproduce the bug
The URL you are running your tests against (if relevant)
Feature Request