Skip to content

Commit

Permalink
Removing outdating views for hostcontent sca tests (#1425)
Browse files Browse the repository at this point in the history
  • Loading branch information
ColeHiggins2 authored Jun 19, 2024
1 parent 5091bce commit 9477e90
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions airgun/views/contenthost.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,6 @@ class details(SatTab):
virtual_guests = ReadOnlyEntry(name='Virtual Guests')
virtual_host = ReadOnlyEntry(name='Virtual Host')
registered_through = ReadOnlyEntry(name='Registered Through')
# Subscriptions
subscription_status = ReadOnlyEntry(name='Subscription Status')
details = ReadOnlyEntry(name='Details')
auto_attach = EditableEntryCheckbox(name='Auto-Attach')
# System Purpose
system_purpose_status = ReadOnlyEntry(name='System Purpose Status')
service_level = EditableEntrySelect(name='Service Level (SLA)')
usage_type = EditableEntrySelect(name='Usage Type')
role = EditableEntrySelect(name='Role')
Expand Down Expand Up @@ -303,7 +297,6 @@ def search(self, query, status='All'):
class repository_sets(SatTab, SearchableViewMixin):
TAB_NAME = 'Repository Sets'

show_all = Checkbox(locator=".//input[contains(@ng-model, 'contentAccessModeAll')]")
limit_to_lce = Checkbox(locator=".//input[contains(@ng-model, 'contentAccessModeEnv')]")
actions = ActionsDropdown("//div[contains(@class, 'btn-group')]")

Expand All @@ -319,8 +312,8 @@ def read(self):
"""Sometimes no checkboxes are checked off by default, selecting
"Show All" in such case.
"""
if self.show_all.read() is False and self.limit_to_lce.read() is False:
self.show_all.fill(True)
if self.limit_to_lce.read() is False:
self.limit_to_lce.fill(True)
return super().read()


Expand Down

0 comments on commit 9477e90

Please sign in to comment.