Skip to content

Instantly share code, notes, and snippets.

@ErikEvenson
Created November 10, 2014 12:09
Show Gist options
  • Save ErikEvenson/f2e39db0213e5fbb7fdc to your computer and use it in GitHub Desktop.
Save ErikEvenson/f2e39db0213e5fbb7fdc to your computer and use it in GitHub Desktop.

Revisions

  1. ErikEvenson created this gist Nov 10, 2014.
    45 changes: 45 additions & 0 deletions e2e.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,45 @@
    Running "protractor:chrome" (protractor) task
    Warning: chromeOnly is deprecated. Use directConnect
    Using ChromeDriver directly...
    Failed to load c++ bson extension, using pure JS version
    Express server listening on 9000, in test mode
    [undefined:undefined] CONNECTED
    F

    Failures:

    1) Main View should include jumbotron with correct data
    Message:
    Error: Error while running testForAngular: javascript error: document unloaded while waiting for result
    (Session info: chrome=38.0.2125.111)
    (Driver info: chromedriver=2.12.301324 (de8ab311bc9374d0ade71f7c167bad61848c7c48),platform=Linux 3.13.0-35-generic x86_64)
    Stacktrace:
    Error: Error while running testForAngular: javascript error: document unloaded while waiting for result
    (Session info: chrome=38.0.2125.111)
    (Driver info: chromedriver=2.12.301324 (de8ab311bc9374d0ade71f7c167bad61848c7c48),platform=Linux 3.13.0-35-generic x86_64)
    at Error (<anonymous>)
    ==== async task ====
    Protractor.get(http://localhost:9000/) - test for angular
    at [object Object].<anonymous> (/vagrant/example/e2e/main/main.spec.js:7:13)
    ==== async task ====
    Asynchronous test function: beforeEach()
    Error
    at [object Object].<anonymous> (/vagrant/example/e2e/main/main.spec.js:6:3)
    at Object.<anonymous> (/vagrant/example/e2e/main/main.spec.js:3:1)

    2) Main View should include jumbotron with correct data
    Message:
    Error: Error while waiting for Protractor to sync with the page: {}
    Stacktrace:
    Error: Error while waiting for Protractor to sync with the page: {}
    at Error (<anonymous>)
    ==== async task ====
    Protractor.waitForAngular()
    ==== async task ====
    Asynchronous test function: it()
    Error
    at [object Object].<anonymous> (/vagrant/example/e2e/main/main.spec.js:11:3)
    at Object.<anonymous> (/vagrant/example/e2e/main/main.spec.js:3:1)

    Finished in 11.393 seconds
    1 test, 2 assertions, 2 failures