angular / protractor

E2E test framework for Angular apps
http://www.protractortest.org
MIT License
8.75k stars 2.31k forks source link

protractor was unable to execute the test cases #1415

Closed prakashomp closed 10 years ago

prakashomp commented 10 years ago

when page was redirected to angularJS page to non angularJS page protractor giving error as bellow

'Error: Error while waiting for Protractor to sync with the page: {}'

after redirection to non angular page i placed isAngularSite(false);

Can any one help to solve the issue.

Thanks OmPrakash

jlin412 commented 10 years ago

There are two ways of solving this. You can turn angular wait by browser.ignoreSynchronization = false; Or use webdriver function instead e.g. browser.driver.click();

If you are using browser.ignoreSynchronization = false, remember to set it back to true when you are back on angular site.

On Wed, Oct 8, 2014 at 8:08 AM, prakashomp notifications@github.com wrote:

when page was redirected to angularJS page to non angularJS page protractor giving error as bellow

'Error: Error while waiting for Protractor to sync with the page: {}'

after redirection to non angular page i placed isAngularSite(false);

Can any one help to solve the issue.

Thanks OmPrakash

— Reply to this email directly or view it on GitHub https://github.com/angular/protractor/issues/1415.

juliemr commented 10 years ago

Please read the contributing guidelines; these types of questions are ill-suited for GitHub. Thanks!