Skip to content

Files

Latest commit

c8bbeef · Jun 29, 2024

History

History
 
 

rustdoc-gui

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
May 5, 2024
Jan 11, 2023
Apr 11, 2023
Apr 5, 2024
Jul 14, 2023
Apr 11, 2023
May 11, 2023
Apr 11, 2023
Apr 11, 2023
Apr 5, 2024
Dec 18, 2023
Oct 22, 2023
May 11, 2023
Apr 5, 2024
Apr 17, 2024
Apr 1, 2024
Sep 23, 2023
Apr 11, 2023
Apr 8, 2024
Apr 5, 2024
Apr 11, 2023
Apr 5, 2024
Apr 11, 2023
Apr 11, 2023
Apr 1, 2024
Apr 12, 2023
Jun 21, 2023
Nov 29, 2023
Apr 1, 2024
Apr 1, 2024
Apr 11, 2023
Apr 5, 2024
Apr 1, 2024
Apr 5, 2024
Jun 29, 2024
Oct 11, 2023
Apr 5, 2024
Apr 11, 2023
Dec 18, 2023
Apr 11, 2023
Apr 11, 2023
Nov 2, 2023
Apr 11, 2023
Apr 5, 2024
Apr 5, 2024
Apr 1, 2024
Apr 11, 2023
Apr 1, 2024
Apr 11, 2023
May 5, 2024
Apr 5, 2024
Jun 26, 2024
Apr 5, 2024
Apr 11, 2023
Apr 11, 2023
Jan 31, 2024
Apr 11, 2023
Apr 11, 2023
Oct 22, 2023
Apr 20, 2024
Apr 11, 2023
Apr 5, 2024
Apr 5, 2024
Apr 5, 2024
May 11, 2023
Apr 5, 2024
Apr 11, 2023
May 11, 2023
Apr 8, 2024
Apr 1, 2024
Apr 5, 2024
Apr 5, 2024
Apr 5, 2024
Apr 11, 2023
Apr 1, 2024
Apr 5, 2024
Apr 5, 2024
Apr 8, 2024
Apr 11, 2023
Apr 5, 2024
Apr 10, 2024
Apr 1, 2024
Apr 1, 2024
Apr 1, 2024
Apr 5, 2024
Apr 1, 2024
Apr 1, 2024
Apr 1, 2024
Apr 1, 2024
May 5, 2024
May 5, 2024
Jun 14, 2023
Apr 5, 2024
Apr 11, 2023
Apr 12, 2023
Apr 5, 2024
Jan 8, 2024
Dec 20, 2023
Oct 11, 2023
Oct 11, 2023
Jun 26, 2024
Apr 5, 2024
Apr 5, 2024
Oct 9, 2023
Apr 11, 2023
Apr 5, 2024
Jul 14, 2023
Apr 5, 2024
May 11, 2023
Apr 5, 2024
Apr 5, 2024
Apr 11, 2023
Apr 5, 2024
Apr 10, 2024
Apr 11, 2023
Apr 5, 2024
Apr 11, 2023
Apr 11, 2023
Dec 31, 2023
Oct 22, 2023
Apr 1, 2024
Oct 22, 2023
Apr 5, 2024
Apr 8, 2024
Apr 5, 2024
Apr 1, 2024

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.

If you need to have more information on the tests run, you can use --test-args:

$ ./x.py test tests/rustdoc-gui --stage 1 --test-args --debug

If you don't want to run in headless mode (helpful to debug sometimes), you can use --no-headless:

$ ./x.py test tests/rustdoc-gui --stage 1 --test-args --no-headless

To see the supported options, use --help.

Important to be noted: if the chromium instance crashes when you run it, you might need to use --no-sandbox to make it work:

$ ./x.py test tests/rustdoc-gui --stage 1 --test-args --no-sandbox