diff --git a/airgun/views/discoveryrule.py b/airgun/views/discoveryrule.py index 0e1bab4b1..f27449d8e 100644 --- a/airgun/views/discoveryrule.py +++ b/airgun/views/discoveryrule.py @@ -1,4 +1,4 @@ -from widgetastic.widget import Checkbox, Text, TextInput, View +from widgetastic.widget import Checkbox, Table, Text, TextInput, View from widgetastic_patternfly import BreadCrumb from widgetastic_patternfly4 import Button as PF4Button @@ -8,7 +8,6 @@ AutoCompleteTextInput, FilteredDropdown, MultiSelect, - SatTable, ) @@ -16,10 +15,10 @@ class DiscoveryRulesView(BaseLoggedInView, SearchableViewMixinPF4): title = Text("//h1[normalize-space(.)='Discovery Rules']") new = Text("//a[contains(@href, '/discovery_rules/new')]") new_on_blank_page = PF4Button('Create Rule') - table = SatTable( + table = Table( './/table', column_widgets={ - 'Name': Text('./a'), + 'Name': Text('.//a'), 'Actions': ActionsDropdown("./div[contains(@class, 'btn-group')]"), }, )