From 185f9a1da41d114cce5c9ea61d2cc3d7425284e3 Mon Sep 17 00:00:00 2001 From: Peter Ondrejka Date: Thu, 23 May 2024 11:09:15 +0200 Subject: [PATCH] test export of cloned template (#15130) --- tests/foreman/ui/test_jobtemplate.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/foreman/ui/test_jobtemplate.py b/tests/foreman/ui/test_jobtemplate.py index c4ad3fa6ccb..b7c27b3fd09 100644 --- a/tests/foreman/ui/test_jobtemplate.py +++ b/tests/foreman/ui/test_jobtemplate.py @@ -199,6 +199,8 @@ def test_positive_end_to_end(session, module_org, module_location, target_sat): assert target_sat.hostname in template_values['template']['template_editor']['editor'] session.jobtemplate.clone(template_new_name, {'template.name': template_clone_name}) assert session.jobtemplate.search(template_clone_name)[0]['Name'] == template_clone_name + dumped_content = target_sat.cli.JobTemplate.dump({'name': template_clone_name}) + assert len(dumped_content) > 0 for name in (template_new_name, template_clone_name): session.jobtemplate.delete(name) assert not session.jobtemplate.search(name)