def test_cohesity_close_helios_incident(self):
        """
        This test case verifies that the 'Cohesity_Close_Helios_Incident'
        playbook can successfully close a Helios incident. It first retrieves
        an incident ID and verifies that the corresponding Helios alert is in
        the 'kOpen' state. It then runs the playbook and waits for 30 seconds
        before verifying that the Helios alert is in the 'kSuppressed' state.
        """
        # self.skipTest("Skipping test_cohesity_close_helios_incident")
        print("Starting test_cohesity_close_helios_incident...")
        playbook_name = "Cohesity_Close_Helios_Incident"
        subscription_id = get_subscription_id()
        incident_id, alert_id = get_one_incident_id(
            self.resource_group, self.workspace_name
        )

        alert_details = get_alert_details(alert_id, self.api_key)
        self.assertEqual(
            alert_details["alertState"], "kOpen", "Alert state is not kOpen"
        )
        # maybe we need to close incident after close helios alert, otherwise,
        # this assert might fail.
        returncode = run_playbook(
            subscription_id,
            incident_id,
            self.resource_group,
            self.workspace_name,
            playbook_name,
            self.access_token,
        )
        self.assertEqual(returncode, 0)

        alert_details = get_alert_details(alert_id, self.api_key)
        print("alert_id --> %s" % alert_id)
        print("api_key --> %s" % self.api_key)
        self.assertEqual(
            alert_details["alertState"],
            "kSuppressed",
            "Alert state is not kSuppressed",
        )
        print("test_cohesity_close_helios_incident finished successfully.")

        This test case verifies that the 'Cohesity_Close_Helios_Incident'
        playbook can successfully close a Helios incident. It first retrieves
        an incident ID and verifies that the corresponding Helios alert is in
        the 'kOpen' state. It then runs the playbook and waits for 30 seconds
        before verifying that the Helios alert is in the 'kSuppressed' state.
        
Solutions/CohesitySecurity/Tests/az.test.py