diff --git a/argos/tests/screenshot.css b/argos/tests/screenshot.css index e69d082b7a..5a7f1fd5c0 100644 --- a/argos/tests/screenshot.css +++ b/argos/tests/screenshot.css @@ -6,14 +6,21 @@ */ /* -Things to hide in Argos screenshots because it's source of flakiness +Hide some things in Argos screenshots because they are a source of flakiness */ iframe, article.yt-lite, -.theme-last-updated, .avatar__photo, img[src$='.gif'], h2#using-jsx-markup ~ div > div[class*='browserWindowBody']:has(b), [class*='playgroundPreview'] { visibility: hidden; } + +/* +Different docs last-update dates can alter layout +"visibility: hidden" is not enough + */ +.theme-last-updated { + display: none; +}