diff --git a/airgun/entities/cloud_insights.py b/airgun/entities/cloud_insights.py index d997da3be..08ef2fd60 100644 --- a/airgun/entities/cloud_insights.py +++ b/airgun/entities/cloud_insights.py @@ -4,7 +4,6 @@ from airgun.utils import retry_navigation from airgun.views.cloud_insights import CloudInsightsView from airgun.views.cloud_insights import CloudTokenView -from airgun.views.job_invocation import JobInvocationCreateView class CloudInsightsEntity(BaseEntity): @@ -26,7 +25,6 @@ def remediate(self, entity_name): view.select_all_hits.click() view.remediate.click() view.remediation_window.remediate.click() - self.run_job() def sync_hits(self): """Sync RH Cloud - Insights recommendations.""" @@ -52,12 +50,6 @@ def update(self, values): view = self.navigate_to(self, 'All') view.fill(values) - def run_job(self): - """Run remediation job""" - view = self.navigate_to(self, 'Run') - view.search_query.wait_displayed() - view.submit.click() - @navigator.register(CloudInsightsEntity, 'Token') class SaveCloudTokenView(NavigateStep): @@ -79,10 +71,3 @@ class ShowCloudInsightsView(NavigateStep): @retry_navigation def step(self, *args, **kwargs): self.view.menu.select('Configure', 'Insights') - - -@navigator.register(CloudInsightsEntity, 'Run') -class RunJob(NavigateStep): - """Navigate to Job Invocation screen.""" - - VIEW = JobInvocationCreateView