1
Fork 0

Update GUI tests for code example buttons

This commit is contained in:
Guillaume Gomez 2024-07-30 15:24:05 +02:00
parent a282e520b2
commit be71bd9cec
3 changed files with 71 additions and 56 deletions

View file

@ -24,11 +24,11 @@ define-function: (
)
call-function: ("check-copy-button", {})
// Checking that the run button and the copy button have the same height.
// Checking that the run button and the copy button have the same height and same width.
compare-elements-size: (
".example-wrap:nth-of-type(1) .test-arrow",
".example-wrap:nth-of-type(1) .copy-button",
["height"],
["height", "width"],
)
// ... and the same y position.
compare-elements-position: (