Skip to content

Commit

Permalink
🥒 fixes broken step
Browse files Browse the repository at this point in the history
  • Loading branch information
josemigallas committed Oct 16, 2024
1 parent 427515d commit 12ca154
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/support/helpers/capybara_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 12ca154

Please sign in to comment.