saucelabs / sauce-cypress-plugin

Cypress Plugin to report your results directly to Sauce Labs
MIT License
7 stars 2 forks source link

fix: attach screenshots to the spec level suite #63

Closed alexplischke closed 11 months ago

alexplischke commented 11 months ago

Attach screenshots to the spec level suite, as we lack any more detailed information in which describe(), context() or it() they were created in.

This change also addresses a bug that causes screenshots to appear multiple times in the report, at least once per test case (as they were added to the suite inside the test cases loop).