Skip to content
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

More information in case of failures #14

Open
ertrzyiks opened this issue Oct 9, 2022 · 0 comments
Open

More information in case of failures #14

ertrzyiks opened this issue Oct 9, 2022 · 0 comments

Comments

@ertrzyiks
Copy link

Hey, I'm thinking of using the test summary page instead of going through the logs.

In case of failure the table doesn't provide information enough data in my case. The test name alone is also not enough to understand what actually went wrong. Nesting levels are missing, the test on the screenshot is defined as Paginator - renders links for first page but somehow we get the actual title twice.

Screenshot 2022-10-09 at 20 14 16

The test

describe('<Paginator>', () => {
  it('renders links for first page', () => {
     ...
  })

The report

<testsuite name="&lt;Paginator&gt;" errors="0" failures="1" skipped="0" timestamp="2022-10-09T18:08:21" time="1.64" tests="6">
    <testcase classname="&lt;Paginator&gt; renders links for first page" name="&lt;Paginator&gt; renders links for first page" time="0.031">

What do you think about adding more info about failures to the output table?

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

No branches or pull requests

1 participant