mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	integrations: Refine CircleCI example screenshots.
- Removed the extra screenshot. - Updated the fixture used to generate the screenshot to use a more suitable topic name and commit message description.
This commit is contained in:
		
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB  | 
										
											Binary file not shown.
										
									
								
							| 
		 Before Width: | Height: | Size: 56 KiB  | 
@@ -742,10 +742,7 @@ DOC_SCREENSHOT_CONFIG: dict[str, list[BaseScreenshotConfig]] = {
 | 
			
		||||
    ],
 | 
			
		||||
    "buildbot": [ScreenshotConfig("started.json")],
 | 
			
		||||
    "canarytoken": [ScreenshotConfig("canarytoken_real.json")],
 | 
			
		||||
    "circleci": [
 | 
			
		||||
        ScreenshotConfig("bitbucket_job_completed.json", image_name="001.png"),
 | 
			
		||||
        ScreenshotConfig("github_job_completed.json", image_name="002.png"),
 | 
			
		||||
    ],
 | 
			
		||||
    "circleci": [ScreenshotConfig("github_job_completed.json")],
 | 
			
		||||
    "clubhouse": [ScreenshotConfig("story_create.json")],
 | 
			
		||||
    "codeship": [ScreenshotConfig("error_build.json")],
 | 
			
		||||
    "crashlytics": [ScreenshotConfig("issue_message.json")],
 | 
			
		||||
 
 | 
			
		||||
@@ -13,7 +13,7 @@
 | 
			
		||||
        "target_repository_url": "https://github.com/zulip-testing/circleci-webhook-test",
 | 
			
		||||
        "revision": "a5e30a908224e46626a796d058289475f6d387b5",
 | 
			
		||||
        "commit": {
 | 
			
		||||
          "subject": ".circleci: Update Webhook URL.",
 | 
			
		||||
          "subject": "Fix remove-op on reaction event.",
 | 
			
		||||
          "body": "",
 | 
			
		||||
          "author": {
 | 
			
		||||
            "name": "Hari Prashant Bhimaraju",
 | 
			
		||||
@@ -47,7 +47,7 @@
 | 
			
		||||
    },
 | 
			
		||||
    "project": {
 | 
			
		||||
      "id": "c4fa043c-d2ba-4d97-a6ca-2745b3518114",
 | 
			
		||||
      "name": "circleci-webhook-test",
 | 
			
		||||
      "name": "main branch - build notifications",
 | 
			
		||||
      "slug": "github/zulip-testing/circleci-webhook-test"
 | 
			
		||||
    },
 | 
			
		||||
    "id": "e7346c18-44cb-331d-9d45-698a38edb2e0",
 | 
			
		||||
 
 | 
			
		||||
@@ -41,11 +41,11 @@ Triggered on [`8ab595d2de9: app.py edited online with Bitbucket`](https://bitbuc
 | 
			
		||||
        self.check_webhook("bitbucket_workflow_completed", expected_topic_name, expected_message)
 | 
			
		||||
 | 
			
		||||
    def test_github_job_completed(self) -> None:
 | 
			
		||||
        expected_topic_name = "circleci-webhook-test"
 | 
			
		||||
        expected_topic_name = "main branch - build notifications"
 | 
			
		||||
        expected_message = """
 | 
			
		||||
Job `build-and-test` within Pipeline #4 has succeeded.
 | 
			
		||||
 | 
			
		||||
Triggered on [`a5e30a90822: .circleci: Update Webhook URL.`](https://github.com/zulip-testing/circleci-webhook-test/commit/a5e30a908224e46626a796d058289475f6d387b5) on branch `main` by Hari Prashant Bhimaraju.
 | 
			
		||||
Triggered on [`a5e30a90822: Fix remove-op on reaction event.`](https://github.com/zulip-testing/circleci-webhook-test/commit/a5e30a908224e46626a796d058289475f6d387b5) on branch `main` by Hari Prashant Bhimaraju.
 | 
			
		||||
""".strip()
 | 
			
		||||
        self.check_webhook("github_job_completed", expected_topic_name, expected_message)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user