Stabilize Date & Time
Was this helpful?
Mitigate UI flakiness with stable date & time in visual testing: Hide dynamic dates or freeze them for consistency using Argos's practical solutions.
Using Argos helpers, you can choose to hide a date or a time by adding data-visual-test="transparent".
<time data-visual-test="transparent">10 oct, 2012</time>If you are using dates (not precise time), you can stabilize them in your seeds by running a script that updates dates just before running your E2E tests.
Was this helpful?
Was this helpful?