From 17a7ea59e5495897cd3d0c117f4328d4727ae6ab Mon Sep 17 00:00:00 2001 From: Gaurav Talreja Date: Wed, 23 Aug 2023 11:41:37 +0530 Subject: [PATCH] Update puppet entity routes for PF4 navigation (#930) Signed-off-by: Gaurav Talreja --- airgun/entities/configgroup.py | 2 +- airgun/entities/puppet_class.py | 2 +- airgun/entities/puppet_environment.py | 2 +- airgun/entities/smart_class_parameter.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/airgun/entities/configgroup.py b/airgun/entities/configgroup.py index 3b34e46d1..8d5a9bba3 100644 --- a/airgun/entities/configgroup.py +++ b/airgun/entities/configgroup.py @@ -55,7 +55,7 @@ class ShowAllConfigGroups(NavigateStep): @retry_navigation def step(self, *args, **kwargs): - self.view.menu.select('Configure', 'Config Groups') + self.view.menu.select('Configure', 'Puppet ENC', 'Config Groups') @navigator.register(ConfigGroupEntity, 'New') diff --git a/airgun/entities/puppet_class.py b/airgun/entities/puppet_class.py index 2e7a2313c..2ed32ab65 100644 --- a/airgun/entities/puppet_class.py +++ b/airgun/entities/puppet_class.py @@ -51,7 +51,7 @@ class ShowAllPuppetClasses(NavigateStep): @retry_navigation def step(self, *args, **kwargs): - self.view.menu.select('Configure', 'Classes') + self.view.menu.select('Configure', 'Puppet ENC', 'Classes') @navigator.register(PuppetClassEntity, 'Edit') diff --git a/airgun/entities/puppet_environment.py b/airgun/entities/puppet_environment.py index 0ca238537..1ed89d3df 100644 --- a/airgun/entities/puppet_environment.py +++ b/airgun/entities/puppet_environment.py @@ -62,7 +62,7 @@ class ShowAllPuppetEnvironmentsView(NavigateStep): @retry_navigation def step(self, *args, **kwargs): - self.view.menu.select('Configure', 'Environments') + self.view.menu.select('Configure', 'Puppet ENC', 'Environments') @navigator.register(PuppetEnvironmentEntity, 'New') diff --git a/airgun/entities/smart_class_parameter.py b/airgun/entities/smart_class_parameter.py index 563c3e924..33d8e4784 100644 --- a/airgun/entities/smart_class_parameter.py +++ b/airgun/entities/smart_class_parameter.py @@ -38,7 +38,7 @@ class ShowAllSmartClassParameters(NavigateStep): @retry_navigation def step(self, *args, **kwargs): - self.view.menu.select('Configure', 'Smart Class Parameters') + self.view.menu.select('Configure', 'Puppet ENC', 'Smart Class Parameters') @navigator.register(SmartClassParameterEntity, 'Edit')