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
Hello, I have really enjoyed using this plugin for my Cypress/X-Ray integration. Thank you for your work! The update test step feature flag gives a quick solution to generate test step information. I was wondering if there are any plans to expand this update test step functionality. Some things that would be useful for me would be:
The ability to update the text within the test step with exactly what I want, not just a copy of the code
The ability to update multiple test steps within a test
The ability to update the data and expected result fields within the test steps
The text was updated successfully, but these errors were encountered:
these are all good ideas, thank you. Actually, I've often thought about more advanced test step integrations, it's obviously not a good solution with the test code as one big step right now.
I'd love to somehow address all your three wishes, but the problem is that Cypress does not really fit into Xray's step scheme. Cypress just does not have a notion of a step, it's more or less simply one huge chain of actions.
The only somewhat feasible solution I could think of is providing custom commands like:
but it feels like a lot of overhead for the testers. Even more so when expected and actual results need to be integrated as well. I have no idea how I would even access assertions like above to extract actual and expected values, apart from providing a wrapper around Cypress's assertions (more overhead).
An alternative could be to switch to Cucumber, which is inherently step-based (and already supported by this plugin).
With the release of Cypress v13, not even the test function's body is accessible to the plugin anymore. I've therefore decided to remove the step updates entirely (see here).
This means that from now on, the plugin will never update test steps of manual test cases again. I think taking my explanation above into account, this pretty much closes your request.
Hello, I have really enjoyed using this plugin for my Cypress/X-Ray integration. Thank you for your work! The update test step feature flag gives a quick solution to generate test step information. I was wondering if there are any plans to expand this update test step functionality. Some things that would be useful for me would be:
The text was updated successfully, but these errors were encountered: