rusdoc: add gui test for custom CSS themes
Based on https://github.com/rust-lang/rust/pull/115829#issuecomment-1720056602
This commit is contained in:
parent
ccf817b9bb
commit
cbccf800b8
6 changed files with 149 additions and 1 deletions
|
@ -73,7 +73,7 @@ assert: "//*[@class='dir-entry' and @open]/*[text()='sub_mod']"
|
|||
// Only "another_folder" should be "open" in "lib2".
|
||||
assert: "//*[@class='dir-entry' and not(@open)]/*[text()='another_mod']"
|
||||
// All other trees should be collapsed.
|
||||
assert-count: ("//*[@id='src-sidebar']/details[not(text()='lib2') and not(@open)]", 9)
|
||||
assert-count: ("//*[@id='src-sidebar']/details[not(text()='lib2') and not(@open)]", 10)
|
||||
|
||||
// We now switch to mobile mode.
|
||||
set-window-size: (600, 600)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue