Skip to content

Cannot use Protractor at all; tests hang if database.list() is called #779

@sdebaun

Description

@sdebaun

Protractor tests hang if database.list() is called

Added a comment to #225 but that issue is closed and im not sure if my comment will get it noticed. Apologies for double-posting.

Version info

Angular: latest released

Firebase: latest released

AngularFire: latest released

How to reproduce these conditions

Minimal repro in this repo:
https://github.com/sdebaun/af-protractor-test

Steps to set up and reproduce

ng new
npm install --save angularfire2 firebase
import AngularFireModule in AppModule
add constructor with AngularFire to app.component.ts
ng serve and ng e2e, y voila!

  - Failed: Timed out waiting for asynchronous Angular tasks to finish after 11 seconds. This may be because the current page is not an Angular application. Please see the FAQ for more details: https://github.com/angular/protractor/blob/master/docs/timeouts.md#waiting-for-angular
While waiting for element with locator - Locator: By(css selector, app-root h1)

Expected behavior

To not have the test timeout waiting for angular

Actual behavior

It times out waiting for angular

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