Skip to content

Conversation

@evg-fr
Copy link

@evg-fr evg-fr commented May 15, 2025

On test result page error message the text is not wrapped resulting in visual truncation (actual text is there, but hidden).
Seems that default styling for <pre> tags doesn't respect text wrapping.

Without fix:
allure3_bug

With fix:
allure3_fixed

@CLAassistant
Copy link

CLAassistant commented May 15, 2025

CLA assistant check
All committers have signed the CLA.

@evg-fr evg-fr force-pushed the fix/test-result-error-message-truncated branch from f3ac57c to b17c48a Compare May 15, 2025 11:55
@todti
Copy link
Collaborator

todti commented May 15, 2025

Hi @evg-fr
Thank you for your contribute but white-space breaks error message and difficult to read error trace here. We use white-space by default for this error messages. If you need some test results you can use sandbox directory just run yarn t inside and you get some allure-results and alllure-report

image image

@evg-fr
Copy link
Author

evg-fr commented May 15, 2025

Hello @todti,
It's interesting because in results that we got with NUnit Allure 2.9.5-preview (it's a bit old, but we stuck with it for some time) package we have separate field for stack trace and it shows it with scrollbar preserving line-breaks:
image
image

test result json has separate field for stack trace:
image

I'm a bit confused because there was fix for it: #32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants