diff options
Diffstat (limited to 'src/test/rustdoc-gui/scrape-examples-button-focus.goml')
-rw-r--r-- | src/test/rustdoc-gui/scrape-examples-button-focus.goml | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/src/test/rustdoc-gui/scrape-examples-button-focus.goml b/src/test/rustdoc-gui/scrape-examples-button-focus.goml deleted file mode 100644 index bba518db0..000000000 --- a/src/test/rustdoc-gui/scrape-examples-button-focus.goml +++ /dev/null @@ -1,29 +0,0 @@ -goto: "file://" + |DOC_PATH| + "/scrape_examples/fn.test.html" - -// The next/prev buttons vertically scroll the code viewport between examples -store-property: (initialScrollTop, ".scraped-example-list > .scraped-example pre", "scrollTop") -focus: ".scraped-example-list > .scraped-example .next" -press-key: "Enter" -assert-property-false: (".scraped-example-list > .scraped-example pre", { - "scrollTop": |initialScrollTop| -}) -focus: ".scraped-example-list > .scraped-example .prev" -press-key: "Enter" -assert-property: (".scraped-example-list > .scraped-example pre", { - "scrollTop": |initialScrollTop| -}) - -// The expand button increases the scrollHeight of the minimized code viewport -store-property: (smallOffsetHeight, ".scraped-example-list > .scraped-example pre", "offsetHeight") -assert-property-false: (".scraped-example-list > .scraped-example pre", { - "scrollHeight": |smallOffsetHeight| -}) -focus: ".scraped-example-list > .scraped-example .expand" -press-key: "Enter" -assert-property-false: (".scraped-example-list > .scraped-example pre", { - "offsetHeight": |smallOffsetHeight| -}) -store-property: (fullOffsetHeight, ".scraped-example-list > .scraped-example pre", "offsetHeight") -assert-property: (".scraped-example-list > .scraped-example pre", { - "scrollHeight": |fullOffsetHeight| -}) |