Testing best practices with cloudscape wrappers #1294
tomvonheill
started this conversation in
General
Replies: 1 comment 1 reply
-
End-to-end tests is a reflection of what a real user would do to perform the same operations. Your test snippet seem to follow this approach pretty well. Not sure what we can improve on our end. Automatic |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Using cypress fro testing my front end functionality right now and i'm wondering about best practices. I've been using the cloudscape wrappers and the element wrapper chaining has been super useful especially with more complicated components like the dateRange picker, but coworkers are saying the cypress logs have been less than useful for them because of the complicated nature of the selectors.
An example below of how I am using it.
I'm thinking one way I can improve this workflow may be adding a query command that automatically appends the .toSelector() call, I'm open to hear about any suggestions/best practices/ examples anyone else is doing!
Beta Was this translation helpful? Give feedback.
All reactions