rust/src/test/rustdoc-gui
2021-04-25 16:06:42 +02:00
..
basic-code.goml Add rustdoc gui tests 2021-02-21 14:25:12 +01:00
basic.goml Add rustdoc gui tests 2021-02-21 14:25:12 +01:00
check_info_sign_position.goml Add GUI test to enforce tooltip position 2021-03-22 22:35:19 +01:00
code-sidebar-toggle.goml Add rustdoc gui tests 2021-02-21 14:25:12 +01:00
hash-item-expansion.goml Add test to ensure that the element pointed to by the URL hash is "expanded" 2021-04-25 16:06:42 +02:00
impl-default-expansion.goml Add test to ensure that impl blocks are open by default 2021-04-25 15:54:42 +02:00
lib.rs improve wording 2021-04-23 18:13:06 +02:00
list_code_block.goml Add rustdoc gui tests 2021-02-21 14:25:12 +01:00
README.md Add documentation for rustdoc-gui tests 2021-03-23 21:15:45 +01:00
search-input-mobile.goml Add GUI tests 2021-02-28 23:01:29 +01:00
search-tab-selection-if-current-is-empty.goml Add test to ensure search tabs behaviour 2021-04-01 21:55:20 +02:00
shortcuts.goml Add GUI tests 2021-02-28 23:01:29 +01:00
theme-change.goml Add rustdoc gui tests 2021-02-21 14:25:12 +01:00
toggle-docs.goml Add rustdoc gui tests 2021-02-21 14:25:12 +01:00
trait-sidebar-item-order.goml Add test to enforce sidebar trait items order 2021-03-23 17:20:10 +01:00

The tests present here are used to test the generated HTML from rustdoc. The goal is to prevent unsound/unexpected GUI changes.

This is using the browser-ui-test framework to do so. It works as follows:

It wraps puppeteer to send commands to a web browser in order to navigate and test what's being currently displayed in the web page.

You can find more information and its documentation in its repository.