Skip to content

Commit f7d4cc6

Browse files
LadislavVasina1web-flow
authored andcommitted
Fix all hosts table name locator (#2477)
(cherry picked from commit c49fa89)
1 parent eb8176d commit f7d4cc6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

airgun/views/all_hosts.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,9 @@ class AllHostsTableView(BaseLoggedInView, SearchableViewMixinPF4):
113113
component_id='hosts-index-table',
114114
column_widgets={
115115
0: Checkbox(locator='.//input[@type="checkbox"]'),
116-
'Name': Text('./a'),
116+
'Name': Text(
117+
'.//a[contains(@href, "/new/hosts/") and not(contains(@href, "Red Hat Lightspeed"))]'
118+
),
117119
2: MenuToggleDropdownInTable(),
118120
},
119121
)

0 commit comments

Comments
 (0)