Skip to content

Commit

Permalink
Change entity routes to accomodate PF4 navigation (SatelliteQE#919)
Browse files Browse the repository at this point in the history
  • Loading branch information
mstrlc authored Aug 7, 2023
1 parent 297710b commit bdc0bc3
Show file tree
Hide file tree
Showing 26 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion airgun/entities/activationkey.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class ShowAllActivationKeys(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Content', 'Activation Keys')
self.view.menu.select('Content', 'Lifecycle', 'Activation Keys')


@navigator.register(ActivationKeyEntity, 'New')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/ansible_role.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class ShowAllRoles(NavigateStep):
VIEW = AnsibleRolesView

def step(self, *args, **kwargs):
self.view.menu.select('Configure', 'Roles')
self.view.menu.select('Configure', 'Ansible', 'Roles')


@navigator.register(AnsibleRolesEntity, 'Import')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/ansible_variable.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class ShowAllVariables(NavigateStep):
VIEW = AnsibleVariablesView

def step(self, *args, **kwargs):
self.view.menu.select('Configure', 'Variables')
self.view.menu.select('Configure', 'Ansible', 'Variables')


@navigator.register(AnsibleVariablesEntity, 'New')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/architecture.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class ShowAllArchitectures(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Hosts', 'Architectures')
self.view.menu.select('Hosts', 'Provisioning Setup', 'Architectures')


@navigator.register(ArchitectureEntity, 'New')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/cloud_insights.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class ShowCloudInsightsView(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Configure', 'Insights')
self.view.menu.select('Configure', 'RH Cloud', 'Insights')


@navigator.register(CloudInsightsEntity, 'Run')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/cloud_inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ class ShowCloudInventoryListView(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Configure', 'Inventory Upload')
self.view.menu.select('Configure', 'RH Cloud', 'Inventory Upload')
2 changes: 1 addition & 1 deletion airgun/entities/config_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class ShowAllConfigReports(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Monitor', 'Config Management')
self.view.menu.select('Monitor', 'Reports', 'Config Management')


@navigator.register(ConfigReportEntity, 'Report Details')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/containerimagetag.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class ShowAllContainerImageTags(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Content', 'Container Image Tags')
self.view.menu.select('Content', 'Content Types', 'Container Image Tags')


@navigator.register(ContainerImageTagEntity, 'Details')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/contentview_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ class ShowAllContentViewsScreen(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Content', 'Content Views')
self.view.menu.select('Content', 'Lifecycle', 'Content Views')


@navigator.register(NewContentViewEntity, 'New')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/errata.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class ShowAllErratum(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Content', 'Errata')
self.view.menu.select('Content', 'Content Types', 'Errata')


@navigator.register(ErrataEntity, 'Details')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/hardware_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class ShowAllHardwareModels(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Hosts', 'Hardware Models')
self.view.menu.select('Hosts', 'Provisioning Setup', 'Hardware Models')


@navigator.register(HardwareModelEntity, 'New')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/job_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class ShowAllTemplates(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Hosts', 'Job templates')
self.view.menu.select('Hosts', 'Templates', 'Job templates')


@navigator.register(JobTemplateEntity, 'New')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/lifecycleenvironment.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class ShowAllLCE(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Content', 'Lifecycle Environments')
self.view.menu.select('Content', 'Lifecycle', 'Lifecycle Environments')


@navigator.register(LCEEntity, 'New Path')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/media.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class ShowAllMedium(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Hosts', 'Installation Media')
self.view.menu.select('Hosts', 'Provisioning Setup', 'Installation Media')


@navigator.register(MediaEntity, 'New')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/modulestream.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class ShowAllModuleStreams(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Content', 'Module Streams')
self.view.menu.select('Content', 'Content Types', 'Module Streams')


@navigator.register(ModuleStreamEntity, 'Details')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/os.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class ShowAllOperatingSystems(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Hosts', 'Operating Systems')
self.view.menu.select('Hosts', 'Provisioning Setup', 'Operating Systems')


@navigator.register(OperatingSystemEntity, 'New')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/oscapcontent.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class ShowAllSCAPContents(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Hosts', 'SCAP contents')
self.view.menu.select('Hosts', 'Compliance', 'SCAP contents')


@navigator.register(OSCAPContentEntity, 'New')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/oscappolicy.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class ShowAllSCAPPolicies(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Hosts', 'Policies')
self.view.menu.select('Hosts', 'Compliance', 'Policies')


@navigator.register(OSCAPPolicyEntity, 'New')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/oscaptailoringfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class ShowAllSCAPTailoringFiles(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Hosts', 'Tailoring Files')
self.view.menu.select('Hosts', 'Compliance', 'Tailoring Files')


@navigator.register(OSCAPTailoringFileEntity, 'New')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class ShowAllPackages(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Content', 'Packages')
self.view.menu.select('Content', 'Content Types', 'Packages')


@navigator.register(PackageEntity, 'Details')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/partitiontable.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class ShowAllPartitionTables(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Hosts', 'Partition Tables')
self.view.menu.select('Hosts', 'Templates', 'Partition Tables')


@navigator.register(PartitionTableEntity, 'New')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/provisioning_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class ShowAllProvisioningTemplates(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Hosts', 'Provisioning Templates')
self.view.menu.select('Hosts', 'Templates', 'Provisioning Templates')


@navigator.register(ProvisioningTemplateEntity, 'New')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/report_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class ShowAllReportTemplates(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Monitor', 'Report Templates')
self.view.menu.select('Monitor', 'Reports', 'Report Templates')


@navigator.register(ReportTemplateEntity, 'New')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/sync_templates.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class SyncMainPageNavigation(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Hosts', 'Sync Templates')
self.view.menu.select('Hosts', 'Templates', 'Sync Templates')


@navigator.register(SyncTemplatesEntity, 'Sync')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class ShowAllTasks(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Monitor', 'Tasks')
self.view.menu.select('Monitor', 'Satellite Tasks', 'Tasks')


@navigator.register(TaskEntity, 'Details')
Expand Down
2 changes: 1 addition & 1 deletion airgun/entities/webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class ShowAllWebhooks(NavigateStep):

@retry_navigation
def step(self, *args, **kwargs):
self.view.menu.select('Administer', 'Webhooks')
self.view.menu.select('Administer', 'Webhook', 'Webhooks')


@navigator.register(WebhookEntity, 'New')
Expand Down

0 comments on commit bdc0bc3

Please sign in to comment.