-
-
Notifications
You must be signed in to change notification settings - Fork 33.1k
Fixed #35380 -- Automated the screenshot generation process for docs. #19514
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?
Fixed #35380 -- Automated the screenshot generation process for docs. #19514
Conversation
To do - generate raw_id_fields image - find a way of showing the mouse pointer with selenium
- move tests to polls app - crop image when it's not possible to get an element
question_content = self.selenium.find_element(By.ID, "content") | ||
self.take_element_screenshot(question_content, "admin07") | ||
|
||
# HACK Modify the registered admin in runtime |
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.
@nessita Is there a good way to programmatically modify the admin?
Currently using unregister
and register
with the new properties but it's flaky.It's not working sometimes
I have to try providing several AdminClasses
and unregister/register. I think the problem will continue to exist.
This affects image admin08t.png as it should include the Date Information division
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.
Crop it passing height ~300
Trac ticket number
ticket-35380
Supersedes #18211
Branch description
DRAFT: Initial attempt to programmatically generate screenshots for docs.
Checklist
main
branch.