forked from DevExpress/testcafe
/
uncaught-js-error-on-page
29 lines (25 loc) · 1.02 KB
/
uncaught-js-error-on-page
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
A JavaScript error occurred on "http://example.org".
Repeat test actions in the browser and check the console for errors.
To ignore client-side JavaScript errors, enable the "--skip-js-errors" CLI option, or set the "skipJsErrors" configuration file property to "true".
If the website only throws this error when you test it with TestCafe, please create a new issue at:
"https://github.com/DevExpress/testcafe/issues/new?template=bug-report.md".
JavaScript error details:
Test error:
at method3 (http://example.com):1:3
at method2 (http://example.com):1:2
at method1 (http://example.com):1:1
Browser: Chrome 15.0.874.120 / macOS 10.15
Screenshot: /unix/path/with/<tag>
18 |function func1 () {
19 | record = createCallsiteRecord({ byFunctionName: 'func1' });
20 |}
21 |
22 |(function func2 () {
> 23 | func1();
24 |})();
25 |
26 |stackTrace.filter.deattach(stackFilter);
27 |
28 |module.exports = record;
at func2 (testfile.js:23:5)
at Object.<anonymous> (testfile.js:24:3)