def METHOD_NAME(self, mock_sentry_app_components_preparer):
    team = self.create_team()
    project1 = self.create_project(teams=[team], name="foo")
    self.create_project(teams=[team], name="baz")
    settings_schema = self.create_alert_rule_action_schema()
    sentry_app = self.create_sentry_app(
        organization=self.organization,
        schema={"elements": [settings_schema]},
        is_alertable=True,
    )
    install = self.create_sentry_app_installation(
        slug=sentry_app.slug, organization=self.organization, user=self.user
    )
    response = self.get_success_response(self.organization.slug, project1.slug)
    assert len(response.data["actions"]) == 10
    assert {
        "id": SENTRY_APP_ALERT_ACTION,
        "service": sentry_app.slug,
        "actionType": "sentryapp",
        "prompt": sentry_app.name,
        "enabled": True,
        "label": "Create Task with App with these ",
        "formFields": settings_schema["settings"],
        "sentryAppInstallationUuid": str(install.uuid),
    } in response.data["actions"]
    assert len(response.data["conditions"]) == 7
    assert len(response.data["filters"]) == 8