In case there is a slow loading of data in the table, the “get” is not retried and only “contains” is retried on the same old table object.
It seems that when using multiple queries (e.g., 2), only the one next to the “should” is retried and not all the other previous ones as well
Desired behavior
I would like all queris before "should" be retested. I would like this in order to better manage DOM updates.
From the example in the documentation, we see that retry is performed only for the “find,” but this would not work if the element acquired from the “get” was also re-rendered and thus changed
Current behavior
For example if I try to do:
In case there is a slow loading of data in the table, the “get” is not retried and only “contains” is retried on the same old table object. It seems that when using multiple queries (e.g., 2), only the one next to the “should” is retried and not all the other previous ones as well
Desired behavior
I would like all queris before "should" be retested. I would like this in order to better manage DOM updates.
Test code to reproduce
From cypress official documentation:
From the example in the documentation, we see that retry is performed only for the “find,” but this would not work if the element acquired from the “get” was also re-rendered and thus changed
Cypress Version
13.13.3
Node version
20.17.0
Operating System
Window
Debug Logs
No response
Other
No response