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
Using axe-playwright version 2.0.3 I'm not able to store test results on CircleCI.
This is done using the store_test_results step and following results.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<testsuitestests="3"failures="1"errors="0"skipped="0">
<testsuitename="http://127.0.0.1:6006/iframe.html?id=button--default&viewMode=%7B%7BviewMode%7D%7D"tests="0"failures="0"errors="0"skipped="0"/>
<testcasename="Accesibility testing - A11Y"/>
<testsuitename="http://127.0.0.1:6006/iframe.html?id=button--primary&viewMode=%7B%7BviewMode%7D%7D"tests="0"failures="0"errors="0"skipped="0"/>
<testcasename="Accesibility testing - A11Y"/>
<testsuitename="http://127.0.0.1:6006/iframe.html?id=button--secondary&viewMode=%7B%7BviewMode%7D%7D"tests="1"failures="1"errors="0"skipped="0">
<testcaseclassname="color-contrast"name="Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds">
<failuremessage="Expected the HTML found at $('._button_4rs8d_5') to have no violations:
<button class="_button_4rs8d_5 _secondary_4rs8d_24" type="button">Secondary</button>
Received:
Elements must meet minimum color contrast ratio thresholds (color-contrast)
Fix any of the following:
 Element has insufficient color contrast of 3.3 (foreground color: #e64833, background color: #fbe9d0, font size: 12.0pt (16px), font weight: bold). Expected contrast ratio of 4.5:1
You can find more information on this issue here: 
https://dequeuniversity.com/rules/axe/4.10/color-contrast?application=axeAPI
"/>
</testcase>
</testsuite>
</testsuites>
When removing the empty <testsuite /> and <testcase /> in the root of <testsuites /> this works correctly:
<?xml version="1.0" encoding="UTF-8"?>
<testsuitestests="3"failures="1"errors="0"skipped="0">
<testsuitename="http://127.0.0.1:6006/iframe.html?id=button--secondary&viewMode=%7B%7BviewMode%7D%7D"tests="1"failures="1"errors="0"skipped="0">
<testcaseclassname="color-contrast"name="Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds">
<failuremessage="Expected the HTML found at $('._button_4rs8d_5') to have no violations:
<button class="_button_4rs8d_5 _secondary_4rs8d_24" type="button">Secondary</button>
Received:
Elements must meet minimum color contrast ratio thresholds (color-contrast)
Fix any of the following:
 Element has insufficient color contrast of 3.3 (foreground color: #e64833, background color: #fbe9d0, font size: 12.0pt (16px), font weight: bold). Expected contrast ratio of 4.5:1
You can find more information on this issue here: 
https://dequeuniversity.com/rules/axe/4.10/color-contrast?application=axeAPI
"/>
</testcase>
</testsuite>
</testsuites>
I don't know what the correct format is which follows the junit spec.
should this format be accepted?
The text was updated successfully, but these errors were encountered:
Hi
Using axe-playwright version
2.0.3
I'm not able to store test results on CircleCI.This is done using the
store_test_results
step and following results.xml file:When removing the empty
<testsuite />
and<testcase />
in the root of<testsuites />
this works correctly:I don't know what the correct format is which follows the junit spec.
should this format be accepted?
The text was updated successfully, but these errors were encountered: