Skip to content

Commit

Permalink
Rollup merge of #105636 - GuillaumeGomez:extend-gui-test, r=notriddle
Browse files Browse the repository at this point in the history
Add check for local-storage value when changing "display line numbers" settings

r? `@notriddle`
  • Loading branch information
matthiaskrgr authored Dec 13, 2022
2 parents 105e398 + 21a2b64 commit 8ba9c21
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/rustdoc-gui/docblock-code-block-line-number.goml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ assert-css: ("#settings", {"display": "block"})
click: "input#line-numbers"
wait-for: 100 // wait-for-false does not exist
assert-false: "pre.example-line-numbers"
assert-local-storage: {"rustdoc-line-numbers": "false" }

// Finally, turn it on again.
click: "input#line-numbers"
wait-for: "pre.example-line-numbers"
assert-local-storage: {"rustdoc-line-numbers": "true" }

0 comments on commit 8ba9c21

Please sign in to comment.