Update GUI test after rebase

This commit is contained in:
Guillaume Gomez 2024-12-02 17:11:36 +01:00
parent 90feb9a645
commit 854ebe7522

View file

@ -10,12 +10,8 @@ assert-property: (".top-doc .docblock table", {"scrollWidth": "1572"})
// Checking it works on other doc blocks as well... // Checking it works on other doc blocks as well...
// Logically, the ".docblock" and the "<p>" should have the same scroll width. // Logically, the ".docblock" and the "<p>" should have the same scroll width (if we exclude the margin).
compare-elements-property: ( assert-property: ("#implementations-list > details .docblock", {"scrollWidth": 816})
"#implementations-list > details .docblock", assert-property: ("#implementations-list > details .docblock > p", {"scrollWidth": 835})
"#implementations-list > details .docblock > p",
["scrollWidth"],
)
assert-property: ("#implementations-list > details .docblock", {"scrollWidth": "835"})
// However, since there is overflow in the <table>, its scroll width is bigger. // However, since there is overflow in the <table>, its scroll width is bigger.
assert-property: ("#implementations-list > details .docblock table", {"scrollWidth": "1572"}) assert-property: ("#implementations-list > details .docblock table", {"scrollWidth": "1572"})