mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-06 02:08:55 +02:00
test(argos): fix Argos visual tests flakiness, hide docs last-update element (#9219)
This commit is contained in:
parent
19ee437f64
commit
4aef958a99
1 changed files with 9 additions and 2 deletions
|
@ -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,
|
iframe,
|
||||||
article.yt-lite,
|
article.yt-lite,
|
||||||
.theme-last-updated,
|
|
||||||
.avatar__photo,
|
.avatar__photo,
|
||||||
img[src$='.gif'],
|
img[src$='.gif'],
|
||||||
h2#using-jsx-markup ~ div > div[class*='browserWindowBody']:has(b),
|
h2#using-jsx-markup ~ div > div[class*='browserWindowBody']:has(b),
|
||||||
[class*='playgroundPreview'] {
|
[class*='playgroundPreview'] {
|
||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
Different docs last-update dates can alter layout
|
||||||
|
"visibility: hidden" is not enough
|
||||||
|
*/
|
||||||
|
.theme-last-updated {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue