cypress-example-docker-circle
cypress-example-docker-circle copied to clipboard
Only reports on last spec run
I ran both the test-junit and test-multiple commands.
JUnit output:
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="0.814" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2018-07-17T21:43:58" tests="0" failures="0" time="0">
</testsuite>
<testsuite name="b-spec" timestamp="2018-07-17T21:43:58" tests="0" failures="0" time="0">
</testsuite>
<testsuite name="page" timestamp="2018-07-17T21:43:58" tests="1" failures="0" time="0.814">
<testcase name="b-spec page has h2" time="0.814" classname="has h2">
</testcase>
</testsuite>
</testsuites>
Multiple output:
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="Mocha Tests" time="0.225" tests="1" failures="0">
<testsuite name="Root Suite" timestamp="2018-07-17T21:45:13" tests="0" failures="0" time="0">
</testsuite>
<testsuite name="b-spec" timestamp="2018-07-17T21:45:13" tests="0" failures="0" time="0">
</testsuite>
<testsuite name="page" timestamp="2018-07-17T21:45:13" tests="1" failures="0" time="0.225">
<testcase name="b-spec page has h2" time="0.225" classname="has h2">
</testcase>
</testsuite>
</testsuites>
In both cases, only the results for spec b are reported. @valscion reported this here, but I'm pretty sure it's a separate issue from #6.
I ran git bisect, and it looks like it's a regression in 07fd39a298aa3843b7aa2382972eb306e35b2421, which upgrade Cypress from v1 to v3.
The solution here works, so this repository just needs to be updated so it still works with Cypress 3.