-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
Use functions more in rustdoc GUI tests #150762
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
This comment has been minimized.
This comment has been minimized.
82c3bf1 to
0433639
Compare
|
And fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good, except for the check-colors test for most of the themes being removed with no explanation.
| call-function: ("check-colors", { | ||
| "theme": "dark", | ||
| "doc_code_color": "#ddd", | ||
| "doc_inline_code_color": "#ddd", | ||
| }) | ||
| call-function: ("check-colors", { | ||
| "theme": "light", | ||
| "doc_code_color": "black", | ||
| "doc_inline_code_color": "black", | ||
| }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why was this removed??
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Woops. When I was debugging an issue in browser-ui-test I removed the extra lines to get less noise. Good catch!
0433639 to
945e7c7
Compare
|
Put back wrongly removed code. |
|
Thanks! @bors r+ |
Now that conditions are supported in
browser-ui-test, we can start simplify some parts of the tests. This is a first cleanup, but I guess a lot more could be simplified. For follow-ups I guess. :)I made some improvements in backtrace display in
browser-ui-test, hence the version update once more.r? @lolbinarycat