You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had a simple set of Typescript Playwright API tests set up and reporting just fine (error and stack trace messages reflected playwright's test results ) with the provided zephyr cloud reporter settings,
I progressed my test design by creating helper object classes and changing the .spect.ts import of test from @playwright/test to my fixture.ts which extends test via import { test as base } from '@playwright/test';
and substantiate the class making use of it's constructor
Hey,
Thank you for reporting the issue. However, that looks odd because the reporter uses the playwright's native error message (e.g. result.error.message). Anyway, I'll try to investigate it more.
I thought it odd too, especially since the playwright extension for VSCode I use reports just fine per test, and running the whole thing locally or in docker switched back to the html reporter shows no signs of corrupted error output. Thanks for investigating.
I had a simple set of Typescript Playwright API tests set up and reporting just fine (error and stack trace messages reflected playwright's test results ) with the provided zephyr cloud reporter settings,
I progressed my test design by creating helper object classes and changing the .spect.ts import of test from @playwright/test to my fixture.ts which extends test via
import { test as base } from '@playwright/test';
and substantiate the class making use of it's constructor
Since then the error and stack trace messages recorded in Zephyr Scale are far from human readable:
❌ Error Message:
�[2mexpect(�[22m�[31mreceived�[39m�[2m).�[22mtoBe�[2m(�[22m�[32mexpected�[39m�[2m) // Object.is equality�[22m
Expected: �[32m400�[39m
Received: �[31m200�[39m
🧱 Stack Trace:
Error: �[2mexpect(�[22m�[31mreceived�[39m�[2m).�[22mtoBe�[2m(�[22m�[32mexpected�[39m�[2m) // Object.is equality�[22m
Expected: �[32m400�[39m
Received: �[31m200�[39m
Is there something to further configure in the reporter? or is this an issue with the repo not handling playwright test being extended?
The text was updated successfully, but these errors were encountered: