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
Can this library help with generating unique test ids, so that we can use that to target specific elements in tests ?
Currently, this is how it seems to work and some issues:
the order of unique ids generated would be the same, every time you reset. I also suppose that this guarantees the same ids and order if the app is run again, or the page is refreshed?
It seems that we can get different ids for the same component if the code is executed in a way that the order of loading that component differs ( for example, it would probably be affected by conditional rendering)
this only happens at runtime, but is there a way to expose all these generated ids somehow as a map in json, so that the file can then be used in the testing framework.
The text was updated successfully, but these errors were encountered:
Can this library help with generating unique test ids, so that we can use that to target specific elements in tests ?
Currently, this is how it seems to work and some issues:
The text was updated successfully, but these errors were encountered: