]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc-gui/hash-item-expansion.goml
Update GUI tests for impl blocks path changes
[rust.git] / src / test / rustdoc-gui / hash-item-expansion.goml
index a680635ef8ae411f068db93f530ee913be1a2903..861f6928362c28e841541b3d91620b56c828fd85 100644 (file)
@@ -3,9 +3,9 @@ goto: file://|DOC_PATH|/test_docs/struct.Foo.html#method.borrow
 // In the blanket implementations list, "Borrow" is the second one, hence the ":nth(2)".
 assert-attribute: ("#blanket-implementations-list > details:nth-child(2)", {"open": ""})
 // We first check that the impl block is open by default.
-assert-attribute: ("#implementations + details", {"open": ""})
+assert-attribute: ("#implementations-list details", {"open": ""})
 // To ensure that we will click on the currently hidden method.
 assert-text: (".sidebar-elems section .block li > a", "must_use")
 click: ".sidebar-elems section .block li > a"
 // We check that the impl block was opened as expected so that we can see the method.
-assert-attribute: ("#implementations + details", {"open": ""})
+assert-attribute: ("#implementations-list > details", {"open": ""})