Playwright test report does not take `test.describe()` into account

Hello and good morning.

I have an issue maybe two which someone has had.

When I import a junit.xml the cli aborts importing the results.

However, several documentations I read mention <testsuites…..<testsuite….<testcase…. as a valid structure.

I rely on the name in testsuites and testsuite because my tests are like that

image

Even at the overview, I do not see the name of the suite, only the name of the test. This makes it difficult to get a proper overview. Or is your intention to use the filter and apply text to Folder?

Without filter:

With applied filter:

Wish you a sunny day.

Hi Martin and welcome to the Testiny forum!

I guess you’re not using the JUnit importer? If you use the playwright JUnit report, you also need to use the JUnit importer:

For the other remarks, best discuss them when the import works correctly :slight_smile:

Best regards,
Alex

@Alex_Hoisl

Ok thx the minor issue fixed the problem. I do not know why but I was not able to see the forest because of the woods. Anyway now my preferred option is the @testiny/automation/reporters/playwright but I have the same problem as before. I do not see the name which is in test.describe(…)as well, I only see the name of the test case. How can I fix that?

This is my config.

You only see the test suite names (from the describe(...)) in the folder path, correct.
Unfortunately, there is currently no setting to configure this.

What you can do as a workaround is disable the “Group by test case” setting in the test run view and then sort by the folder. Then you should see tests from the same folder next to each other.

Best regards,
Alex

No, I only see the name of the test case not the name of the suite.

Anyway, I use the filter and apply the it to the folder-column.