Files
openfoodnetwork/spec/support/table_helper.rb
Maikel Linke 96c2b75a0a Spec admin display of Taler payment actions
This should satisfy code coverage.
2026-02-20 13:43:09 +11:00

9 lines
193 B
Ruby

# frozen_string_literal: true
module TableHelper
# Selector for table row that has the given string
def row_containing(value)
find(:xpath, "(//tr[contains(., '#{value}')])")
end
end