Closed tianfeng92 closed 1 month ago
Since afterRunTestReport does not check account settings, there is no need for additional checks on the SAUCE_VM setting.
I think you do need to check it still. If the user is using this plugin while having a mixed use of environments where Cypress runs (some locally, in CI and Sauce Labs), any time they'd run their tests—even if partially—via Sauce Labs, they'd get this warning.
Good point!
Description
Refactor and refine handing no credentials condition.