Skip to content

Conversation

marcorichetta
Copy link
Contributor

Trac ticket number

ticket-35380

Supersedes #18211

Branch description

DRAFT: Initial attempt to programmatically generate screenshots for docs.

Checklist

  • This PR targets the main branch.
  • The commit message is written in past tense, mentions the ticket number, and ends with a period.
  • I have checked the "Has patch" ticket flag in the Trac system.
  • I have added or updated relevant tests.
  • I have added or updated relevant docs, including release notes if applicable.
  • I have attached screenshots in both light and dark modes for any UI changes.

question_content = self.selenium.find_element(By.ID, "content")
self.take_element_screenshot(question_content, "admin07")

# HACK Modify the registered admin in runtime
Copy link
Contributor Author

@marcorichetta marcorichetta Jul 24, 2025

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

Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants