Update GUI tests for code example buttons
This commit is contained in:
parent
a282e520b2
commit
be71bd9cec
3 changed files with 71 additions and 56 deletions
|
@ -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: (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue