Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
test fails
F^Crandallkoutnik: ~/runnable/angular Many-many-changes-in-e2e-tests$ npm test
> runnable-angular@0.2.1 test /Users/randallkoutnik/runnable/angular
> protractor ./test/protractor.conf.js
Using the selenium server at http://localhost:4444/wd/hub
..root@569d5461825a: /bin/sh -c sleep 123456789
..root@909f8b23ff19: /bin/sh -c sleep 123456789
1
2
3
a=b
basd=asasdasdasd
..Cloning 'runnable-doobie/node-hello-world' into './node-hello-world'...
.
Warning: Permanently added the RSA host key for IP address '192.30.252.130' to t
he list of known hosts.
Downloading build files...
/Dockerfile
Building box...
Sending build context to Docker daemon 55.3 kB
Step 0 : FROM dockerfile/nodejs
Sending build context to Docker daemon
---> 81e8311fd6f0
Step 1 : CMD sleep 123456789
---> Using cache
---> 560b2698725d
Successfully built 560b2698725d
Build completed successfully!
F.A Jasmine spec timed out. Resetting the WebDriver Control Flow.
The last active task was:
unknown
FFFFFFFFwarning: more than one element found for locator by.model("data.instance.state.name") - you may need to be more specific
warning: more than one element found for locator by.model("data.instance.state.name") - you may need to be more specific
warning: more than one element found for locator by.model("data.instance.state.name") - you may need to be more specific
.A Jasmine spec timed out. Resetting the WebDriver Control Flow.
The last active task was:
WebDriver.executeScript()
at webdriver.WebDriver.schedule (/Users/randallkoutnik/runnable/angular/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:268:15)
at webdriver.WebDriver.executeAsyncScript (/Users/randallkoutnik/runnable/angular/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:496:15)
at Protractor.waitForAngular (/Users/randallkoutnik/runnable/angular/node_modules/protractor/lib/protractor.js:887:22)
at to.(anonymous function) [as getCurrentUrl] (/Users/randallkoutnik/runnable/angular/node_modules/protractor/lib/protractor.js:54:7)
at /Users/randallkoutnik/runnable/angular/test/e2e/helpers/util.js:9:20
at webdriver.promise.ControlFlow.runInNewFrame_ (/Users/randallkoutnik/runnable/angular/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1539:20)
at pollCondition [as _onTimeout] (/Users/randallkoutnik/runnable/angular/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1305:12)
at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)
F.A Jasmine spec timed out. Resetting the WebDriver Control Flow.
The last active task was:
WebDriver.executeScript()
at webdriver.WebDriver.schedule (/Users/randallkoutnik/runnable/angular/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:268:15)
at webdriver.WebDriver.executeAsyncScript (/Users/randallkoutnik/runnable/angular/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:496:15)
at Protractor.waitForAngular (/Users/randallkoutnik/runnable/angular/node_modules/protractor/lib/protractor.js:887:22)
at ElementArrayFinder.getWebElements (/Users/randallkoutnik/runnable/angular/node_modules/protractor/lib/protractor.js:117:19)
at ElementArrayFinder.count (/Users/randallkoutnik/runnable/angular/node_modules/protractor/lib/protractor.js:214:17)
at ElementFinder.isPresent (/Users/randallkoutnik/runnable/angular/node_modules/protractor/lib/protractor.js:622:51)
at /Users/randallkoutnik/runnable/angular/test/e2e/deleteBox.e2e.js:18:42
at webdriver.promise.ControlFlow.runInNewFrame_ (/Users/randallkoutnik/runnable/angular/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1539:20)
at pollCondition [as _onTimeout] (/Users/randallkoutnik/runnable/angular/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1305:12)
FA Jasmine spec timed out. Resetting the WebDriver Control Flow.
The last active task was:
WebDriver.executeScript()
at webdriver.WebDriver.schedule (/Users/randallkoutnik/runnable/angular/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:268:15)
at webdriver.WebDriver.executeAsyncScript (/Users/randallkoutnik/runnable/angular/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/webdriver.js:496:15)
at Protractor.waitForAngular (/Users/randallkoutnik/runnable/angular/node_modules/protractor/lib/protractor.js:887:22)
at to.(anonymous function) [as getCurrentUrl] (/Users/randallkoutnik/runnable/angular/node_modules/protractor/lib/protractor.js:54:7)
at /Users/randallkoutnik/runnable/angular/test/e2e/helpers/util.js:9:20
at webdriver.promise.ControlFlow.runInNewFrame_ (/Users/randallkoutnik/runnable/angular/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1539:20)
at pollCondition [as _onTimeout] (/Users/randallkoutnik/runnable/angular/node_modules/protractor/node_modules/selenium-webdriver/lib/webdriver/promise.js:1305:12)
at Timer.listOnTimeout [as ontimeout] (timers.js:112:15)
FF
Failures:
1) logs should output the proper logs
Message:
Expected 'root@569d5461825a: /bin/sh -c sleep 123456789
' to match 'node /hello/server.js'.
Stacktrace:
Error: Expected 'root@569d5461825a: /bin/sh -c sleep 123456789
' to match 'node /hello/server.js'.
at /Users/randallkoutnik/runnable/angular/test/e2e/readLogs.e2e.js:20:20
2) logs should output the proper logs
Message:
Expected 'root@569d5461825a: /bin/sh -c sleep 123456789
' to match 'Server running at http://127.0.0.1:80/'.
Stacktrace:
Error: Expected 'root@569d5461825a: /bin/sh -c sleep 123456789
' to match 'Server running at http://127.0.0.1:80/'.
at /Users/randallkoutnik/runnable/angular/test/e2e/readLogs.e2e.js:22:20
3) Changing commit should allow the user filter commits by commit text
Message:
timeout: timed out after 30000 msec waiting for spec to complete
Stacktrace:
undefined
4) Changing commit should allow the user to change the branch to !master
Message:
TypeError: Unimplemented function: "isPending"
Stacktrace:
TypeError: Unimplemented function: "isPending"
==== async task ====
WebDriver.executeScript()
at /Users/randallkoutnik/runnable/angular/test/e2e/changeCommit.e2e.js:64:39
==== async task ====
at null.<anonymous> (/Users/randallkoutnik/runnable/angular/test/e2e/changeCommit.e2e.js:63:13)
==== async task ====
Asynchronous test function: it()
Error
at null.<anonymous> (/Users/randallkoutnik/runnable/angular/test/e2e/changeCommit.e2e.js:59:3)
at Object.<anonymous> (/Users/randallkoutnik/runnable/angular/test/e2e/changeCommit.e2e.js:9:1)
5) Changing commit should allow the user to change the branch back to master
Message:
TypeError: Unimplemented function: "isPending"
Stacktrace:
TypeError: Unimplemented function: "isPending"
==== async task ====
WebDriver.executeScript()
at /Users/randallkoutnik/runnable/angular/test/e2e/changeCommit.e2e.js:87:39
==== async task ====
at null.<anonymous> (/Users/randallkoutnik/runnable/angular/test/e2e/changeCommit.e2e.js:86:13)
==== async task ====
Asynchronous test function: it()
Error
at null.<anonymous> (/Users/randallkoutnik/runnable/angular/test/e2e/changeCommit.e2e.js:83:3)
at Object.<anonymous> (/Users/randallkoutnik/runnable/angular/test/e2e/changeCommit.e2e.js:9:1)
6) addRepo adds a repo to an instance
Message:
Error: Timed out waiting for Protractor to synchronize with the page after 11 seconds. Please see https://github.com/angular/protractor/blob/master/docs/faq.md
Stacktrace:
Error: Timed out waiting for Protractor to synchronize with the page after 11 seconds. Please see https://github.com/angular/protractor/blob/master/docs/faq.md
at Error (<anonymous>)
==== async task ====
WebDriver.executeScript()
at InstanceEditPage.get (/Users/randallkoutnik/runnable/angular/test/e2e/pages/InstanceEditPage.js:18:82)
at null.<anonymous> (/Users/randallkoutnik/runnable/angular/test/e2e/addRepo.e2e.js:8:18)
==== async task ====
Asynchronous test function: it()
Error
at null.<anonymous> (/Users/randallkoutnik/runnable/angular/test/e2e/addRepo.e2e.js:6:3)
at Object.<anonymous> (/Users/randallkoutnik/runnable/angular/test/e2e/addRepo.e2e.js:5:1)
7) addRepo should now have 2 repos
Message:
Error: No element found using locator: By.cssSelector("#wrapper > main > header > div.secondary-actions > button")
Stacktrace:
Error: No element found using locator: By.cssSelector("#wrapper > main > header > div.secondary-actions > button")
==== async task ====
Asynchronous test function: it()
Error
at InstanceEditPage.get (/Users/randallkoutnik/runnable/angular/test/e2e/pages/InstanceEditPage.js:18:82)
at null.<anonymous> (/Users/randallkoutnik/runnable/angular/test/e2e/addRepo.e2e.js:28:18)
Error
at null.<anonymous> (/Users/randallkoutnik/runnable/angular/test/e2e/addRepo.e2e.js:26:3)
at Object.<anonymous> (/Users/randallkoutnik/runnable/angular/test/e2e/addRepo.e2e.js:5:1)
8) Changing commit with multiple repos should allow the user to back up to 2 commits ago
Message:
Error: Timed out waiting for Protractor to synchronize with the page after 11 seconds. Please see https://github.com/angular/protractor/blob/master/docs/faq.md
Stacktrace:
Error: Timed out waiting for Protractor to synchronize with the page after 11 seconds. Please see https://github.com/angular/protractor/blob/master/docs/faq.md
at Error (<anonymous>)
==== async task ====
WebDriver.executeScript()
at Object.util.hasClass (/Users/randallkoutnik/runnable/angular/test/e2e/helpers/util.js:50:21)
at /Users/randallkoutnik/runnable/angular/test/e2e/changeCommit2Reps.e2e.js:56:17
==== async task ====
at waitForRepos (/Users/randallkoutnik/runnable/angular/test/e2e/changeCommit2Reps.e2e.js:55:11)
at null.<anonymous> (/Users/randallkoutnik/runnable/angular/test/e2e/changeCommit2Reps.e2e.js:14:5)
==== async task ====
Asynchronous test function: it()
Error
at null.<anonymous> (/Users/randallkoutnik/runnable/angular/test/e2e/changeCommit2Reps.e2e.js:10:3)
at Object.<anonymous> (/Users/randallkoutnik/runnable/angular/test/e2e/changeCommit2Reps.e2e.js:9:1)
9) Changing commit with multiple repos should allow the user set both repos back to HEAD
Message:
Error: Timed out waiting for Protractor to synchronize with the page after 11 seconds. Please see https://github.com/angular/protractor/blob/master/docs/faq.md
Stacktrace:
Error: Timed out waiting for Protractor to synchronize with the page after 11 seconds. Please see https://github.com/angular/protractor/blob/master/docs/faq.md
at Error (<anonymous>)
==== async task ====
WebDriver.executeScript()
at Object.util.hasClass (/Users/randallkoutnik/runnable/angular/test/e2e/helpers/util.js:50:21)
at /Users/randallkoutnik/runnable/angular/test/e2e/changeCommit2Reps.e2e.js:56:17
==== async task ====
at waitForRepos (/Users/randallkoutnik/runnable/angular/test/e2e/changeCommit2Reps.e2e.js:55:11)
at null.<anonymous> (/Users/randallkoutnik/runnable/angular/test/e2e/changeCommit2Reps.e2e.js:40:5)
==== async task ====
Asynchronous test function: it()
Error
at null.<anonymous> (/Users/randallkoutnik/runnable/angular/test/e2e/changeCommit2Reps.e2e.js:36:3)
at Object.<anonymous> (/Users/randallkoutnik/runnable/angular/test/e2e/changeCommit2Reps.e2e.js:9:1)
10) deleteRepo should delete a repo from an instance
Message:
Error: No element found using locator: by.repeater(acv in data.version.appCodeVersions.models").row("1")"
Stacktrace:
Error: No element found using locator: by.repeater(acv in data.version.appCodeVersions.models").row("1")"
==== async task ====
Asynchronous test function: it()
Error
at RepoList.deleteRepo (/Users/randallkoutnik/runnable/angular/test/e2e/directives/RepoList.js:55:52)
at null.<anonymous> (/Users/randallkoutnik/runnable/angular/test/e2e/deleteRepo.e2e.js:10:27)
Error
at null.<anonymous> (/Users/randallkoutnik/runnable/angular/test/e2e/deleteRepo.e2e.js:6:3)
at Object.<anonymous> (/Users/randallkoutnik/runnable/angular/test/e2e/deleteRepo.e2e.js:5:1)
11) fork box should allow the forking of a box
Message:
timeout: timed out after 30000 msec waiting for spec to complete
Stacktrace:
undefined
12) delete should load & delete Test-Fork
Message:
timeout: timed out after 30000 msec waiting for spec to complete
Stacktrace:
undefined
13) delete should load & delete Test-1
Message:
timeout: timed out after 30000 msec waiting for spec to complete
Stacktrace:
undefined
14) delete should confirm everything was deleted
Message:
Expected 2 to equal 0.
Stacktrace:
Error: Failed expectation
at null.<anonymous> (/Users/randallkoutnik/runnable/angular/test/e2e/deleteBox.e2e.js:36:32)
Finished in 328.779 seconds
22 tests, 25 assertions, 14 failures
npm ERR! Test failed. See above for more details.
randallkoutnik: ~/runnable/angular Many-many-changes-in-e2e-tests$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment