about summary refs log tree commit diff
path: root/src/test/rustdoc-gui
AgeCommit message (Collapse)AuthorLines
2021-06-28Add test for item-table with resize to mobileStefan Schindler-0/+42
2021-06-26Add tests to ensure the font-weight is the correct oneGuillaume Gomez-0/+15
2021-06-26Remove erroneously created fileGuillaume Gomez-2/+0
2021-06-24Fixing the test rustdoc by ignoring ↵Stefan Schindler-5/+5
`*[@id="module-item"]//following-sibling::item-right` relationship and rustdoc-gui
2021-06-23Fix search filter updateGuillaume Gomez-0/+17
2021-06-23Rollup merge of #86542 - GuillaumeGomez:line-numbers-aligned-with-content, ↵Dylan DPC-39/+41
r=jyn514 Line numbers aligned with content We had the issue a few times in the past where the source code pages' content wasn't aligned with the line numbers but completely below. This test will prevent this change to go unnoticed. The first commit comes from https://github.com/rust-lang/rust/pull/86541 so it needs it to be merged first. r? `@jsha`
2021-06-22Add check to ensure that the line numbers are aligned with the source codeGuillaume Gomez-0/+2
2021-06-22Update browser-ui-test versionGuillaume Gomez-39/+39
2021-06-22Rollup merge of #86297 - GuillaumeGomez:rustdoc-gui-args, r=Mark-SimulacrumYuki Okushi-0/+12
Allow to pass arguments to rustdoc-gui tool Very convenient for testing. This is another part of https://github.com/rust-lang/rust/pull/86293 cc ``@jsha`` r? ``@Mark-Simulacrum``
2021-06-19Update browser-ui-test versionGuillaume Gomez-100/+100
2021-06-16Factor out render_rightsideJacob Hoffman-Andrews-3/+0
This covers rendering of stability_since and the srclink across methods and trait implementations, so their DOM representation is consistent.
2021-06-16Open trait implementations' toggles by default.Jacob Hoffman-Andrews-0/+5
This makes it possible to use Ctrl-F to find methods defined in traits.
2021-06-16Allow to pass arguments to rustdoc-gui toolGuillaume Gomez-0/+12
2021-06-13Add test to ensure font-weight is applied correctlyGuillaume Gomez-1/+31
2021-06-08Rollup merge of #86095 - GuillaumeGomez:search-description-codeblock, r=jshaYuki Okushi-0/+5
Search description codeblock The codeblocks are not displayed correctly: ![Screenshot from 2021-06-07 11-11-53](https://user-images.githubusercontent.com/3050060/120991915-5fb05680-c782-11eb-9b32-973a64b1f631.png) This PR interprets the HTML correctly (and still prevent invalid HTML because of how it inserts it): ![Screenshot from 2021-06-07 11-12-00](https://user-images.githubusercontent.com/3050060/120991919-6048ed00-c782-11eb-8ac5-c3aa6508bc8b.png) r? ```@jsha```
2021-06-07Add test to ensure the result descripton is correctly handling codeblocksGuillaume Gomez-0/+5
2021-06-07Add test to check that font-weight is correctly set on type pageGuillaume Gomez-1/+7
2021-05-31Improve display of the separation between page items and siblings in the sidebarGuillaume Gomez-1/+11
2021-05-31Only list crates on the crate pageGuillaume Gomez-8/+7
2021-05-31Add sidebar GUI testsGuillaume Gomez-0/+58
2021-05-25Add GUI test to check colors of alias in search resultsGuillaume Gomez-0/+15
2021-05-25Update keyword GUI testGuillaume Gomez-4/+3
2021-05-24Rollup merge of #85551 - GuillaumeGomez:fix-search-result-overflow, r=jshaGuillaume Gomez-0/+12
Fix search results display Fixes https://github.com/rust-lang/rust/issues/85544. cc `@dns2utf8` r? `@jsha`
2021-05-22Add test for search result resize widthGuillaume Gomez-0/+12
2021-05-21Add test for search result keyword extra infoGuillaume Gomez-0/+15
2021-05-20Extend escape key checkGuillaume Gomez-3/+10
2021-05-18Add GUI tests for escape handlingGuillaume Gomez-0/+27
2021-05-14Add test for toggle on mobile sizeGuillaume Gomez-0/+21
2021-05-11Update toggle-docs GUI test to last versionGuillaume Gomez-4/+7
2021-05-11Move rustdoc-gui rust libraries into their own folder and prepare the field ↵Guillaume Gomez-17/+17
for more libraries
2021-05-10Add test for source code clickable line numberGuillaume Gomez-0/+13
2021-04-25Add test to ensure that the element pointed to by the URL hash is "expanded"Guillaume Gomez-0/+18
2021-04-25Remove unneeded rustdoc-gui test because DOM changedGuillaume Gomez-5/+0
2021-04-25Add test to ensure that impl blocks are open by defaultGuillaume Gomez-0/+3
2021-04-23improve wordingArpad Borsos-1/+7
2021-04-01Add test to ensure search tabs behaviourGuillaume Gomez-0/+21
2021-03-25Rollup merge of #83420 - GuillaumeGomez:rustdoc-gui-tests-doc, r=CraftSpiderYuki Okushi-0/+12
Add documentation for rustdoc-gui tests I think a bit of documentation doesn't hurt in this case considering how "out of the ordinary" this is. r? ``@jyn514``
2021-03-24Rollup merge of #83393 - GuillaumeGomez:codeblock-tooltip-position, r=Nemo157Dylan DPC-4/+23
Codeblock tooltip position The codeblocks tooltips were misplaced. Normally, there is no top margin applied to a tooltip unless the codeblock is the first element of the doc block. The CSS rule was too vague though, applying it to all tooltips where the codeblock was the first child of its parent. Which can be easily seen with lists: Before: ![Screenshot from 2021-03-22 22-05-16](https://user-images.githubusercontent.com/3050060/112059812-a667ba80-8b5c-11eb-88dd-1c598ceb3766.png) After: ![Screenshot from 2021-03-22 22-06-31](https://user-images.githubusercontent.com/3050060/112059815-a7005100-8b5c-11eb-9e40-8fc57513e498.png) r? ``@Nemo157``
2021-03-23Add documentation for rustdoc-gui testsGuillaume Gomez-0/+12
2021-03-23Add test to enforce sidebar trait items orderGuillaume Gomez-2/+14
2021-03-22Add GUI test to enforce tooltip positionGuillaume Gomez-4/+23
2021-03-09Add test to ensure the attributes position when js is disabledGuillaume Gomez-0/+10
2021-02-28Add GUI testsGuillaume Gomez-0/+37
2021-02-21Add rustdoc gui testsGuillaume Gomez-0/+100