Hello
I am facing issues with my automated UI tests failing intermittently due to dynamic elements in my application. The test scripts often break when UI elements change position; have dynamic attributes (like auto-generated IDs) / load asynchronously. Even minor UI updates seem to cause frequent false negatives; making test maintenance a headache.
I have tried using XPath with wildcards and CSS selectors, but it only offers partial relief. Explicit waits help in some cases;but they don’t fully resolve inconsistencies caused by animations or lazy loading. Has anyone successfully tackled this issue using Xray? Are there best practices or specific strategies to make automated UI tests more resilient? Checked Automation - Xray Server + DC - Xray ReactJS Training guide related to this and found it quite informative.
I came across this Xray Automation Guide but I’d appreciate practical insights from those who have faced and resolved similar challenges. Any tips on handling such flaky tests?
Thank you!!