diff options
| author | Guillaume Gomez <guillaume.gomez@huawei.com> | 2021-11-29 15:55:05 +0100 |
|---|---|---|
| committer | Guillaume Gomez <guillaume.gomez@huawei.com> | 2021-12-02 14:17:20 +0100 |
| commit | 1e55c31cbbc43a21c93ed5652dc39c267e6557af (patch) | |
| tree | a6bd5af58ffba4afcdb9b077ba4ccd9d4a16b3e6 /src/test/rustdoc-gui | |
| parent | 6e9954d12e0f6ea5bd1ebe306694edf004de003f (diff) | |
| download | rust-1e55c31cbbc43a21c93ed5652dc39c267e6557af.tar.gz rust-1e55c31cbbc43a21c93ed5652dc39c267e6557af.zip | |
Fix remaining bugs
Diffstat (limited to 'src/test/rustdoc-gui')
| -rw-r--r-- | src/test/rustdoc-gui/source-code-page.goml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc-gui/source-code-page.goml b/src/test/rustdoc-gui/source-code-page.goml index 34ee2d1c04f..f3682f59d21 100644 --- a/src/test/rustdoc-gui/source-code-page.goml +++ b/src/test/rustdoc-gui/source-code-page.goml @@ -1,6 +1,6 @@ goto: file://|DOC_PATH|/src/test_docs/lib.rs.html // Check that we can click on the line number. -click: (50, 196) // This is the position of the span for line 4. +click: ".line-numbers > span:nth-child(4)" // This is the span for line 4. // Unfortunately, "#4" isn't a valid query selector, so we have to go around that limitation // by instead getting the nth span. assert-attribute: (".line-numbers > span:nth-child(4)", {"class": "line-highlighted"}) |
