Skip to content

Commit

Permalink
Update master views
Browse files Browse the repository at this point in the history
Fix for all tests in ui/master/test_tenant
  • Loading branch information
mastastny committed Dec 18, 2024
1 parent e1e76f5 commit 105d21a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion testsuite/ui/views/master/audience/tenant.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class TenantDetailView(BaseMasterAudienceView):

path_pattern = "/buyers/accounts/{account_id}"
edit_button = ThreescaleEditButton()
applications_button = Text("//*[contains(@title,'applications')]")
applications_button = Text("//*[@data-ouia-component-id='OUIA-Generated-NavExpandable-3']/button")
public_domain = Text(".//th[contains(text(),'Public domain')]/parent::*/td/a")
admin_domain = Text(".//th[contains(text(),'Admin domain')]/parent::*/td/a")
resume_b = Button("Resume", classes=["button-to", "resume"])
Expand Down
4 changes: 2 additions & 2 deletions testsuite/ui/views/master/foundation.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ class BaseMasterView(View, Navigable):
support_link = Text("//a[@href='//access.redhat.com/products/red-hat-3scale#support']")
master_header = Text("//*[contains(@class,'Header--master')]")
context_menu = Dropdown(component_id="context-selector")
documentation = Dropdown(component_id="OUIA-Generated-Dropdown-2")
user_session = Dropdown(component_id="OUIA-Generated-Dropdown-3")
documentation = Dropdown(component_id="OUIA-Generated-DropdownToggle-2")
user_session = Dropdown(component_id="OUIA-Generated-DropdownToggle-3")
threescale_version = Text("//*[contains(@class,'powered-by-3scale')]/span")

def __init__(self, parent, logger=None, **kwargs):
Expand Down

0 comments on commit 105d21a

Please sign in to comment.