code: def test_deploy_button_displays_correctly(
      themed_app: Page, assert_snapshot: ImageCompareFunction
  ):
      deploy_button = themed_app.get_by_test_id("stDeployButton")
      deploy_button.click()
  
      # Make sure that deploy dialog is properly displayed
      # Before taking screenshot
      deploy_dialog = themed_app.get_by_test_id("stModal")
      expect(deploy_dialog).to_be_visible()
      expect(
          deploy_dialog.get_by_test_id(
              "stDeployDialogCommunityCloudIcon"
          )
      ).to_be_visible()
      expect(
          deploy_dialog.get_by_test_id(
              "stDeployDialogCustomDeploymentIcon"
          )
      ).to_be_visible()
  
      # Wait for a short time to make sure that the images have been loaded
      themed_app.wait_for_timeout(250)
  
      # Make a snapshot of the dialog window
      assert_snapshot(
          deploy_dialog.get_by_role("dialog"), name="deploy_dialog"
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: test_deploy_button_displays_correctly(themed_app, assert_snapshot) without return types