diff --git a/cfme/tests/configure/test_access_control.py b/cfme/tests/configure/test_access_control.py index c825b5e175..4118be53d8 100644 --- a/cfme/tests/configure/test_access_control.py +++ b/cfme/tests/configure/test_access_control.py @@ -857,10 +857,22 @@ def test_role_crud(appliance): casecomponent: Configuration tags: rbac """ - role = _mk_role(appliance, name=None, vm_restriction=None, - product_features=[(['Everything'], False), - (['Everything', 'Settings', 'Configuration'], True), - (['Everything', 'Services', 'Catalogs Explorer'], True)]) + product_feature = ( + ['Everything', 'Configuration'] + if appliance.version > "5.11" + else ['Everything', 'Settings', 'Configuration'] + ) + + role = _mk_role( + appliance, + name=None, + vm_restriction=None, + product_features=[ + (["Everything"], False), + (product_feature, True), + (["Everything", "Services", "Catalogs Explorer"], True), + ], + ) with update(role): role.name = "{}edited".format(role.name) copied_role = role.copy() @@ -1618,9 +1630,13 @@ def test_tenant_unique_catalog(appliance, request, catalog_obj): 'name': catalog_obj.name, 'description': catalog_obj.description }) - view.add_button.click() - view.flash.wait_displayed(timeout=20) - assert view.flash.read() == [msg] + + if appliance.version > "5.11": + assert view.name.help_block == msg + else: + view.add_button.click() + view.flash.wait_displayed(timeout=20) + view.flash.assert_message(msg) @pytest.mark.ignore_stream("upstream") diff --git a/widgetastic_manageiq/__init__.py b/widgetastic_manageiq/__init__.py index 249492216c..8c99edd832 100644 --- a/widgetastic_manageiq/__init__.py +++ b/widgetastic_manageiq/__init__.py @@ -4559,7 +4559,7 @@ def data_for_timestamp(self, timestamp): return tooltip_data -class ReactTextInput(TextInput): +class ReactTextInput(Input): # The clear method from the WebElement class in the Selenium package was not clearing the react # text field. arguments[0] is the widget name