-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement warnings. New error format. Bump version.
- Loading branch information
Showing
6 changed files
with
202 additions
and
136 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
"\u001b[1mRunning tests in: \u001b[94mChrome 41.0.2227 / Mac OS X 10.10.1\u001b[39m, \u001b[94mFirefox 47 / Mac OS X\n10.10.1\u001b[39m\u001b[22m\n\n\n .\u001b[31m.\u001b[39m...\u001b[31m.\u001b[39m\n\n \u001b[1m\u001b[31m2/6 failed\u001b[39m\u001b[22m\n\n \u001b[1m\u001b[31m1) First fixture - Second test in first fixture\u001b[39m\u001b[22m\n Chrome 41.0.2227 / Mac OS X 10.10.1\n Error on page \"http://example.org\":\n\n Some error\n\n 1 |var createCallsiteRecord = require('callsite-record');\n 2 |\n 3 |function someFunc () {\n > 4 | throw new Error('Hey ya!');\n 5 |}\n 6 |\n 7 |try {\n 8 | someFunc();\n 9 |}\n\n at someFunc (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n\n Screenshot: /screenshots/1445437598847/errors\n\n\n \u001b[1m\u001b[31m2) First fixture - Second test in first fixture\u001b[39m\u001b[22m\n Firefox 47 / Mac OS X 10.10.1\n The specified selector does not match any element in the DOM tree.\n\n 1 |var createCallsiteRecord = require('callsite-record');\n 2 |\n 3 |function someFunc () {\n > 4 | throw new Error('Hey ya!');\n 5 |}\n 6 |\n 7 |try {\n 8 | someFunc();\n 9 |}\n\n at someFunc (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n\n\n \u001b[1m\u001b[31m3) Third fixture - First test in third fixture\u001b[39m\u001b[22m\n Firefox 47 / Mac OS X 10.10.1\n - Error in beforeEach hook -\n The specified selector does not match any element in the DOM tree.\n\n 1 |var createCallsiteRecord = require('callsite-record');\n 2 |\n 3 |function someFunc () {\n > 4 | throw new Error('Hey ya!');\n 5 |}\n 6 |\n 7 |try {\n 8 | someFunc();\n 9 |}\n\n at someFunc (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n\n" | ||
" \u001b[1mRunning tests in:\u001b[22m\n - \u001b[94mChrome 41.0.2227 / Mac OS X 10.10.1\u001b[39m\n - \u001b[94mFirefox 47 / Mac OS X 10.10.1\u001b[39m\n\n . \u001b[31m.\u001b[39m . . . \u001b[31m.\u001b[39m\n\n \u001b[1m\u001b[31m✖\u001b[39m\u001b[22m First fixture - Second test in first fixture\n\n Error on page \"http://example.org\":\n\n Some error\n\n Browser: Chrome 41.0.2227 / Mac OS X 10.10.1\n Screenshot: /screenshots/1445437598847/errors\n\n 1 |var createCallsiteRecord = require('callsite-record');\n 2 |\n 3 |function someFunc () {\n > 4 | throw new Error('Hey ya!');\n 5 |}\n 6 |\n 7 |try {\n 8 | someFunc();\n 9 |}\n\n at someFunc (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n\n\n \u001b[1m\u001b[31m✖\u001b[39m\u001b[22m First fixture - Second test in first fixture\n\n The specified selector does not match any element in the DOM tree.\n\n Browser: Firefox 47 / Mac OS X 10.10.1\n\n 1 |var createCallsiteRecord = require('callsite-record');\n 2 |\n 3 |function someFunc () {\n > 4 | throw new Error('Hey ya!');\n 5 |}\n 6 |\n 7 |try {\n 8 | someFunc();\n 9 |}\n\n at someFunc (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n\n\n \u001b[1m\u001b[31m✖\u001b[39m\u001b[22m Third fixture - First test in third fixture\n\n - Error in beforeEach hook -\n The specified selector does not match any element in the DOM tree.\n\n Browser: Firefox 47 / Mac OS X 10.10.1\n\n 1 |var createCallsiteRecord = require('callsite-record');\n 2 |\n 3 |function someFunc () {\n > 4 | throw new Error('Hey ya!');\n 5 |}\n 6 |\n 7 |try {\n 8 | someFunc();\n 9 |}\n\n at someFunc (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n\n\n \u001b[1m\u001b[31m2/6 failed\u001b[39m\u001b[22m\n\n \u001b[1m\u001b[33mWarnings (3):\u001b[39m\u001b[22m\n \u001b[1m\u001b[33m--\u001b[39m\u001b[22m\n Was unable to take a screenshot due to an error.\n\n ReferenceError: someVar is not defined\n \u001b[1m\u001b[33m--\u001b[39m\u001b[22m\n Was unable to take a screenshot due to an error.\n\n ReferenceError: someOtherVar is not defined\n \u001b[1m\u001b[33m--\u001b[39m\u001b[22m\n Was unable to take screenshots because the screenshot directory is not\n specified. To specify it, use the \"-s\" or \"--screenshots\" command line\n option or the \"screenshots\" method of the test runner in case you are using\n API.\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
"\u001b[1mRunning tests in: \u001b[34mChrome 41.0.2227 / Mac OS X 10.10.1\u001b[39m, \u001b[34mFirefox 47 / Mac OS X\n10.10.1\u001b[39m\u001b[22m\n\n\n .\u001b[31m.\u001b[39m...\u001b[31m.\u001b[39m\n\n \u001b[1m\u001b[31m2/6 failed\u001b[39m\u001b[22m\n\n \u001b[1m\u001b[31m1) First fixture - Second test in first fixture\u001b[39m\u001b[22m\n Chrome 41.0.2227 / Mac OS X 10.10.1\n Error on page \"http://example.org\":\n\n Some error\n\n 1 |var createCallsiteRecord = require('callsite-record');\n 2 |\n 3 |function someFunc () {\n > 4 | throw new Error('Hey ya!');\n 5 |}\n 6 |\n 7 |try {\n 8 | someFunc();\n 9 |}\n\n at someFunc (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n\n Screenshot: /screenshots/1445437598847/errors\n\n\n \u001b[1m\u001b[31m2) First fixture - Second test in first fixture\u001b[39m\u001b[22m\n Firefox 47 / Mac OS X 10.10.1\n The specified selector does not match any element in the DOM tree.\n\n 1 |var createCallsiteRecord = require('callsite-record');\n 2 |\n 3 |function someFunc () {\n > 4 | throw new Error('Hey ya!');\n 5 |}\n 6 |\n 7 |try {\n 8 | someFunc();\n 9 |}\n\n at someFunc (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n\n\n \u001b[1m\u001b[31m3) Third fixture - First test in third fixture\u001b[39m\u001b[22m\n Firefox 47 / Mac OS X 10.10.1\n - Error in beforeEach hook -\n The specified selector does not match any element in the DOM tree.\n\n 1 |var createCallsiteRecord = require('callsite-record');\n 2 |\n 3 |function someFunc () {\n > 4 | throw new Error('Hey ya!');\n 5 |}\n 6 |\n 7 |try {\n 8 | someFunc();\n 9 |}\n\n at someFunc (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n\n" | ||
" \u001b[1mRunning tests in:\u001b[22m\n - \u001b[34mChrome 41.0.2227 / Mac OS X 10.10.1\u001b[39m\n - \u001b[34mFirefox 47 / Mac OS X 10.10.1\u001b[39m\n\n . \u001b[31m.\u001b[39m . . . \u001b[31m.\u001b[39m\n\n \u001b[1m\u001b[31m✖\u001b[39m\u001b[22m First fixture - Second test in first fixture\n\n Error on page \"http://example.org\":\n\n Some error\n\n Browser: Chrome 41.0.2227 / Mac OS X 10.10.1\n Screenshot: /screenshots/1445437598847/errors\n\n 1 |var createCallsiteRecord = require('callsite-record');\n 2 |\n 3 |function someFunc () {\n > 4 | throw new Error('Hey ya!');\n 5 |}\n 6 |\n 7 |try {\n 8 | someFunc();\n 9 |}\n\n at someFunc (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n\n\n \u001b[1m\u001b[31m✖\u001b[39m\u001b[22m First fixture - Second test in first fixture\n\n The specified selector does not match any element in the DOM tree.\n\n Browser: Firefox 47 / Mac OS X 10.10.1\n\n 1 |var createCallsiteRecord = require('callsite-record');\n 2 |\n 3 |function someFunc () {\n > 4 | throw new Error('Hey ya!');\n 5 |}\n 6 |\n 7 |try {\n 8 | someFunc();\n 9 |}\n\n at someFunc (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n\n\n \u001b[1m\u001b[31m✖\u001b[39m\u001b[22m Third fixture - First test in third fixture\n\n - Error in beforeEach hook -\n The specified selector does not match any element in the DOM tree.\n\n Browser: Firefox 47 / Mac OS X 10.10.1\n\n 1 |var createCallsiteRecord = require('callsite-record');\n 2 |\n 3 |function someFunc () {\n > 4 | throw new Error('Hey ya!');\n 5 |}\n 6 |\n 7 |try {\n 8 | someFunc();\n 9 |}\n\n at someFunc (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n at Object.<anonymous> (some-file:1:1)\n\n\n \u001b[1m\u001b[31m2/6 failed\u001b[39m\u001b[22m\n\n \u001b[1m\u001b[33mWarnings (3):\u001b[39m\u001b[22m\n \u001b[1m\u001b[33m--\u001b[39m\u001b[22m\n Was unable to take a screenshot due to an error.\n\n ReferenceError: someVar is not defined\n \u001b[1m\u001b[33m--\u001b[39m\u001b[22m\n Was unable to take a screenshot due to an error.\n\n ReferenceError: someOtherVar is not defined\n \u001b[1m\u001b[33m--\u001b[39m\u001b[22m\n Was unable to take screenshots because the screenshot directory is not\n specified. To specify it, use the \"-s\" or \"--screenshots\" command line\n option or the \"screenshots\" method of the test runner in case you are using\n API.\n" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,69 +1,89 @@ | ||
Running tests in: Chrome 41.0.2227 / Mac OS X 10.10.1, Firefox 47 / Mac OS X | ||
10.10.1 | ||
Running tests in: | ||
- Chrome 41.0.2227 / Mac OS X 10.10.1 | ||
- Firefox 47 / Mac OS X 10.10.1 | ||
|
||
. . . . . . | ||
|
||
...... | ||
✖ First fixture - Second test in first fixture | ||
|
||
2/6 failed | ||
Error on page "http://example.org": | ||
|
||
1) First fixture - Second test in first fixture | ||
Chrome 41.0.2227 / Mac OS X 10.10.1 | ||
Error on page "http://example.org": | ||
Some error | ||
|
||
Some error | ||
Browser: Chrome 41.0.2227 / Mac OS X 10.10.1 | ||
Screenshot: /screenshots/1445437598847/errors | ||
|
||
1 |var createCallsiteRecord = require('callsite-record'); | ||
2 | | ||
3 |function someFunc () { | ||
> 4 | throw new Error('Hey ya!'); | ||
5 |} | ||
6 | | ||
7 |try { | ||
8 | someFunc(); | ||
9 |} | ||
1 |var createCallsiteRecord = require('callsite-record'); | ||
2 | | ||
3 |function someFunc () { | ||
> 4 | throw new Error('Hey ya!'); | ||
5 |} | ||
6 | | ||
7 |try { | ||
8 | someFunc(); | ||
9 |} | ||
|
||
at someFunc (some-file:1:1) | ||
at Object.<anonymous> (some-file:1:1) | ||
at Object.<anonymous> (some-file:1:1) | ||
at someFunc (some-file:1:1) | ||
at Object.<anonymous> (some-file:1:1) | ||
at Object.<anonymous> (some-file:1:1) | ||
|
||
Screenshot: /screenshots/1445437598847/errors | ||
|
||
✖ First fixture - Second test in first fixture | ||
|
||
2) First fixture - Second test in first fixture | ||
Firefox 47 / Mac OS X 10.10.1 | ||
The specified selector does not match any element in the DOM tree. | ||
The specified selector does not match any element in the DOM tree. | ||
|
||
1 |var createCallsiteRecord = require('callsite-record'); | ||
2 | | ||
3 |function someFunc () { | ||
> 4 | throw new Error('Hey ya!'); | ||
5 |} | ||
6 | | ||
7 |try { | ||
8 | someFunc(); | ||
9 |} | ||
Browser: Firefox 47 / Mac OS X 10.10.1 | ||
|
||
at someFunc (some-file:1:1) | ||
at Object.<anonymous> (some-file:1:1) | ||
at Object.<anonymous> (some-file:1:1) | ||
1 |var createCallsiteRecord = require('callsite-record'); | ||
2 | | ||
3 |function someFunc () { | ||
> 4 | throw new Error('Hey ya!'); | ||
5 |} | ||
6 | | ||
7 |try { | ||
8 | someFunc(); | ||
9 |} | ||
|
||
at someFunc (some-file:1:1) | ||
at Object.<anonymous> (some-file:1:1) | ||
at Object.<anonymous> (some-file:1:1) | ||
|
||
3) Third fixture - First test in third fixture | ||
Firefox 47 / Mac OS X 10.10.1 | ||
- Error in beforeEach hook - | ||
The specified selector does not match any element in the DOM tree. | ||
|
||
1 |var createCallsiteRecord = require('callsite-record'); | ||
2 | | ||
3 |function someFunc () { | ||
> 4 | throw new Error('Hey ya!'); | ||
5 |} | ||
6 | | ||
7 |try { | ||
8 | someFunc(); | ||
9 |} | ||
✖ Third fixture - First test in third fixture | ||
|
||
at someFunc (some-file:1:1) | ||
at Object.<anonymous> (some-file:1:1) | ||
at Object.<anonymous> (some-file:1:1) | ||
- Error in beforeEach hook - | ||
The specified selector does not match any element in the DOM tree. | ||
|
||
Browser: Firefox 47 / Mac OS X 10.10.1 | ||
|
||
1 |var createCallsiteRecord = require('callsite-record'); | ||
2 | | ||
3 |function someFunc () { | ||
> 4 | throw new Error('Hey ya!'); | ||
5 |} | ||
6 | | ||
7 |try { | ||
8 | someFunc(); | ||
9 |} | ||
|
||
at someFunc (some-file:1:1) | ||
at Object.<anonymous> (some-file:1:1) | ||
at Object.<anonymous> (some-file:1:1) | ||
|
||
|
||
2/6 failed | ||
|
||
Warnings (3): | ||
-- | ||
Was unable to take a screenshot due to an error. | ||
|
||
ReferenceError: someVar is not defined | ||
-- | ||
Was unable to take a screenshot due to an error. | ||
|
||
ReferenceError: someOtherVar is not defined | ||
-- | ||
Was unable to take screenshots because the screenshot directory is not | ||
specified. To specify it, use the "-s" or "--screenshots" command line | ||
option or the "screenshots" method of the test runner in case you are using | ||
API. |
Oops, something went wrong.