-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dorny/test-reporter fails with error Error: TypeError: stackTrace.split is not a function
when there is test failure.
#241
Comments
its playwright report with junit format . pls check this https://playwright.dev/docs/test-reporters |
Error: TypeError: stackTrace.split is not a function
when there is test failure.
Seeing the same with cypress junit reports |
Try your luck by changing the reporter format to java-junit:
|
Hello, I've seen the fix in v1.7.0 release (PR #258), so I tried using
But I experiment the the same error :
Is there another case that causes the error ? Here is my jest_junit file (generated with vitest) : Thanks for your help |
Switch to java test parser - dorny/test-reporter#241 (comment)
Switch to java test parser - dorny/test-reporter#241 (comment)
Switch to java test parser - dorny/test-reporter#241 (comment)
Switch to java test parser - dorny/test-reporter#241 (comment)
Switch to java test parser - dorny/test-reporter#241 (comment) Currently the connection test passes and then a very odd failure on reading columns which I don't get locally.
Ran into this with Vitest results, using |
Same here. |
same here, using playwright tests |
dorny/test-reporter fails with error when there is test failure.
Error: TypeError: stackTrace.split is not a function
64 | await this.page.locator(this.offlineSummarySelector).waitFor(); | ^ 65 | await this.page.locator(this.onlineSummarySelector).waitFor(); 66 | await expect(this.onlineSummary).toHaveText("Online"); 67 | await expect(this.offlineSummary).toHaveText("Offline"); at OverviewPage.verifyOverviewPageElements (/qa-automation/test/frontend/login/login.test.ts:41:34 attachment #1: screenshot (image/png) ---------------------------------------------------------- test-results/frontend-login-login--login-RTA-83-Verify-user-is-able-to-log-in-with-an-admin-account-sanity-mobile-Chrome/test-failed-1.png ------------------------------------------------------------------------------------------------ Retry #1 --------------------------------------------------------------------------------------- locator.waitFor: Timeout 30000ms exceeded. =========================== logs =========================== waiting for selector "[data-testid="summary-Offline"]" to be visible ============================================================ at ../page/OverviewPage.ts:64 62 | 63 | async verifyOverviewPageElements() { > 64 | await this.page.locator(this.offlineSummarySelector).waitFor(); | ^ 65 | await this.page.locator(this.onlineSummarySelector).waitFor(); 66 | await expect(this.onlineSummary).toHaveText("Online"); 67 | await expect(this.offlineSummary).toHaveText("Offline"); at OverviewPage.verifyOverviewPageElements (/qa-automation/test/frontend/login/login.test.ts:41:34 attachment #1: trace (application/zip) --------------------------------------------------------- test-results/frontend-login-login--login-RTA-83-Verify-user-is-able-to-log-in-with-an-admin-account-sanity-mobile-Chrome-retry1/trace.zip Usage: npx playwright show-trace test-results/frontend-login-login--login-RTA-83-Verify-user-is-able-to-log-in-with-an-admin-account-sanity-mobile-Chrome-retry1/trace.zip ------------------------------------------------------------------------------------------------ attachment #2: screenshot (image/png) ---------------------------------------------------------- test-results/frontend-login-login--login-RTA-83-Verify-user-is-able-to-log-in-with-an-admin-account-sanity-mobile-Chrome-retry1/test-failed-1.png ------------------------------------------------------------------------------------------------ ]]> [[ATTACHMENT|../test-results/frontend-login-login--login-RTA-83-Verify-user-is-able-to-log-in-with-an-admin-account-sanity-mobile-Chrome-retry1/trace.zip]]below is junit.xml file
[[ATTACHMENT|../test-results/frontend-login-login--login-RTA-83-Verify-user-is-able-to-log-in-with-an-admin-account-sanity-mobile-Chrome-retry1/test-failed-1.png]]
]]>
The text was updated successfully, but these errors were encountered: