mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
integration-docs: Add jira-plugin screenshot config and image.
Temporarily exclude jira-plugin from `test_integration_doc_endpoints`, until the doc is updated. The screenshot for this integration is added separately since this adds a new screenshot for an integration whose doc is in the python-zulip-api repo. Since this breaks the sync between the docs and the screenshots, an exclusion is added to make the tests pass.
This commit is contained in:
BIN
static/images/integrations/jira-plugin/001.png
Normal file
BIN
static/images/integrations/jira-plugin/001.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 49 KiB |
@@ -73,6 +73,7 @@ FIXTURELESS_INTEGRATIONS_WITH_SCREENSHOTS: list[str] = [
|
||||
"github-actions",
|
||||
"google-calendar",
|
||||
"jenkins",
|
||||
"jira-plugin",
|
||||
"mastodon",
|
||||
"mercurial",
|
||||
"nagios",
|
||||
@@ -749,10 +750,7 @@ NO_SCREENSHOT_CONFIG = (
|
||||
"twitter",
|
||||
}
|
||||
# Python API Integrations that do not currently have screenshots in docs
|
||||
| {
|
||||
"git",
|
||||
"jira-plugin",
|
||||
}
|
||||
| {"git"}
|
||||
| NO_SCREENSHOT_WEBHOOKS
|
||||
| hubot_integration_names
|
||||
)
|
||||
|
@@ -417,7 +417,7 @@ class DocPageTest(ZulipTestCase):
|
||||
# for the PythonAPIIntegrations, so we cannot avoid going out of sync
|
||||
# when adding/deleting screenshots.
|
||||
# Use this set to temporarily add exclusions to this test.
|
||||
exception_images: set[str] = {}
|
||||
exception_images: set[str] = {"jira-plugin/001.png"}
|
||||
images_in_dir.update(exception_images)
|
||||
images_in_docs.update(exception_images)
|
||||
|
||||
|
@@ -104,6 +104,13 @@ JENKINS = ScreenshotContent(
|
||||
content=f"**Build:** [#{REVISION_NUMBER}](): FAILURE :cross_mark:",
|
||||
)
|
||||
|
||||
JIRA_PLUGIN = ScreenshotContent(
|
||||
topic=f"{TICKET_NUMBER}: {TASK_TITLE}",
|
||||
content=f"""{BO_NAME} **created** [{TICKET_NUMBER}]() - priority Medium, assigned to @**{KEVIN_NAME}**:
|
||||
|
||||
> {TASK_DESCRIPTION}""",
|
||||
)
|
||||
|
||||
MASTODON = ScreenshotContent(
|
||||
topic="MIT Technology Review",
|
||||
content=f"""**[Don’t let hype about AI agents get ahead of reality](https://www.technologyreview.com/2025/07/03/1119545/dont-let-hype-about-ai-agents-get-ahead-of-reality/)**
|
||||
|
Reference in New Issue
Block a user