Skip to content
This repository was archived by the owner on Jul 29, 2024. It is now read-only.
This repository was archived by the owner on Jul 29, 2024. It is now read-only.

waitForAngularEnabled(true) causes error #4874

@lilletech

Description

@lilletech

waitForAngularEnabled doesn't seem to work.

Use case :

  • waitForAngularEnabled to false to get sso page and fill user/password fields
  • return to angular app and waitForAngularEnabled to true causes error

i've create a simple angular app projet

https://github.com/lilletech/protractor-issue

Bug report

  • Node Version: 3.10.8
  • Protractor Version: '~5.1.2'
  • Angular Version: ^4.0.0
  • Browser(s): chromedriver _2.40
  • Operating System and Version windows 10
  • Your protractor configuration file (in repo)
  • A relevant example test (in repo)
  • Output from running the test
    Failed: Error while waiting for Protractor to sync with the page: "window.angular is undefined. This could be either because this is a non-angular page or because your test involves client-side navigation, which can interfere with Protractor's bootstrapping. See http://git.io/v4gXM for details"
  • Steps to reproduce the bug :
    ng e2e

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions