def test_execution_with_rules(self): history_id, inputs = self.workflow_run_setup_inputs( WORKFLOW_WITH_RULES_1) self.open_in_workflow_run(WORKFLOW_WITH_RULES_1) self.workflow_run_specify_inputs(inputs) self.screenshot("workflow_run_rules") self.workflow_run_submit() self.history_panel_wait_for_hid_ok(6, allowed_force_refreshes=1) output_content = self.dataset_populator.get_history_collection_details( history_id, hid=6) rules_test_data.check_example_2(output_content, self.dataset_populator)
def test_execution_with_rules(self): history_id, inputs = self.workflow_run_setup_inputs( WORKFLOW_WITH_RULES_1) self.open_in_workflow_run(WORKFLOW_WITH_RULES_1) self.workflow_run_specify_inputs(inputs) self.screenshot("workflow_run_rules") self.workflow_run_submit() if self.is_beta_history(): timeout = self.wait_length(self.wait_types.JOB_COMPLETION) item = self.content_item_by_attributes(hid=6, state="ok") self.wait_for_present(item, timeout=timeout) else: self.history_panel_wait_for_hid_ok(6, allowed_force_refreshes=1) output_content = self.dataset_populator.get_history_collection_details( history_id, hid=6) rules_test_data.check_example_2(output_content, self.dataset_populator)