diff --git a/features/support/helpers/capybara_helpers.rb b/features/support/helpers/capybara_helpers.rb index 791c5c01c3..80550bb0f6 100644 --- a/features/support/helpers/capybara_helpers.rb +++ b/features/support/helpers/capybara_helpers.rb @@ -47,11 +47,11 @@ def assert_current_domain(domain) def find_inline_actions_of_row(row) if has_css?('td', text: row, wait: 0) - overflow_menu = find('tr', text: row).find('.pf-c-table__action .pf-c-overflow-menu') + overflow_menu = find('tr', text: row).find('.pf-c-table__action') if overflow_menu.has_css?('.pf-c-dropdown', wait: 0) # collapsed overflow menu dropdown = overflow_menu.find('.pf-c-dropdown') - elsif overflow_menu.has_css?('.pf-c-overflow-menu__content', wait: 0) # desktop overflow menu + elsif overflow_menu.has_css?('.pf-c-overflow-menu', wait: 0) # desktop overflow menu desktop = overflow_menu.find('.pf-c-overflow-menu__content') end elsif has_css?('.pf-c-data-list__cell', text: row, wait: 0)