protractor-junit-flake
Version:
A wrapper for protractor to automatically re-run failed tests for a specific number of attempts
64 lines (60 loc) • 2.12 kB
Plain Text
[] Running 2 instances of WebDriver
.
------------------------------------
[] PID: 9865
[] Specs: /tests/a-good-test.test.js
[]
[] Using ChromeDriver directly...
[] [32m.[0m
[]
[] Finished in 0.041 seconds
[] [32m1 test, 1 assertion, 0 failures
[0m[chrome
[] 2 instance(s) of WebDriver still running
F
------------------------------------
[] PID: 9864
[] Specs: /tests/a-flakey.test.js
[]
[] Using ChromeDriver directly...
[] [31mF[0m
[]
[] Failures:
[]
[] 1) a flakey integration test fails, in a horribly consistent manner
[] Message:
[] [31mExpected false to be truthy.[0m
[] Stacktrace:
[] Error: Failed expectation
[] at [object Object].<anonymous> (/tests/a-flakey.test.js:9:39)
[]
[] Finished in 1.021 seconds
[] [31m1 test, 1 assertion, 1 failure
[0m[chrome
[] 1 instance(s) of WebDriver still running
F
------------------------------------
[] PID: 9893
[] Specs: /tests/another-flakey.test.js
[]
[] Using ChromeDriver directly...
[] [31mF[0m
[]
[] Failures:
[]
[] 1) another flakey integration test fails, in a horribly consistent manner
[] Message:
[] [31mExpected false to be truthy.[0m
[] Stacktrace:
[] Error: Failed expectation
[] at [object Object].<anonymous> (/tests/another-flakey.test.js:9:39)
[]
[] Finished in 0.558 seconds
[] [31m1 test, 1 assertion, 1 failure
[0m[chrome
[] 0 instance(s) of WebDriver still running
[] chrome
[] chrome
[] chrome
[] overall: 2 failed spec(s)
[launcher] Process exited with error code 1