https://cypress.io logo
In our app we have a lot of pickers, the select op...
# e2e-testing
h
In our app we have a lot of pickers, the select options in the pickers have a
data-cy="someId
attribute based on a value coming from the back-end. We're now having a few issues with translations (database values have changed) and we're considering to changing how cypress selects an option. We're considering to get a list of options, and then randomly select one (if no specific data-cy value is used), this way we don't have to worry about translations and changing names etc. any suggestions?
3 Views