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've been working with Playwright recently and have noticed that it stores the browser type in the 'hostname' attribute.
Using the getting started guide, this simplified junit xml results file shows that the two tests are repeated in the test output, differentiated by their hostname.
<testsuites>
<testsuitename="example.spec.ts"hostname="chromium">
<testcasename="has title"classname="example.spec.ts" />
<testcasename="get started link"classname="example.spec.ts" />
</testsuite>
<testsuitename="example.spec.ts"hostname="firefox">
<testcasename="has title"classname="example.spec.ts" />
<testcasename="get started link"classname="example.spec.ts" />
</testsuite>
<testsuitename="example.spec.ts"hostname="webkit">
<testcasename="has title"classname="example.spec.ts" />
<testcasename="get started link"classname="example.spec.ts" />
</testsuite>
</testsuites>
This hostname property should be accessible in our meta_data for the suite and testcases.
The text was updated successfully, but these errors were encountered:
bryanbcook
changed the title
include JUnit 'hostname' property in meta_data
include JUnit 'hostname' suite attribute in meta_data
Feb 29, 2024
bryanbcook
added a commit
to bryanbcook/test-results-parser
that referenced
this issue
Feb 29, 2024
I've been working with Playwright recently and have noticed that it stores the browser type in the 'hostname' attribute.
Using the getting started guide, this simplified junit xml results file shows that the two tests are repeated in the test output, differentiated by their hostname.
This hostname property should be accessible in our meta_data for the suite and testcases.
The text was updated successfully, but these errors were encountered: