rust/src/test/rustdoc-gui
2021-04-01 21:55:20 +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
lib.rs Rollup merge of #83393 - GuillaumeGomez:codeblock-tooltip-position, r=Nemo157 2021-03-24 01:52:32 +01:00
list_code_block.goml Add rustdoc gui tests 2021-02-21 14:25:12 +01:00
nojs-attr-pos.goml Add test to ensure the attributes position when js is disabled 2021-03-09 21:40:04 +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.