Conversation
Hey @cshnimble , Looks good to me. Thanks for also making some other best-practice amendments to my original code. I think the only thing from me is to please ask nicely if you can switch testing for 'dev' or 'test' in the URL is for now to test for 'd01' or 't01' to select the appropriate environment? Other than that all good from me boss unless you've got anything else to add @paullocknimble ? Thanks |
dangood84
left a comment
There was a problem hiding this comment.
Hey boss, Thanks a million for the amendments Chris. Please can you switch 'dev' to 'd01' and 'test' to 't01' if that's ok please boss?
|
Kudos, SonarCloud Quality Gate passed! |








Adds a Cypress command to enable test skips when conditions are met.
The command is in support/commands.js and will take any boolean expression as an arg.
Note: to be able to use it and use the Mocha test context, any test will need to use es5 syntax for functions, namely:
rather than
In the skipped tests, I'm currently evaluating against the url containing 'dev' to skip on dev environment, but you may want to change the expression if this won't work.
Also fixes formatting in test classes.