Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support
:table_row
without locator argument (#2749)
The `:table_row` selector supports both `Hash` and `Array` arguments. Many other selectors support omitting the `locator` argument, so this commit adds support for omitting the `locator` from `:table_row`. This can be useful when grabbing all rows and making assertions about sort order: ```ruby table = find :table, "My Table" header, first, second, third = table.all :table_row header.assert_text "Header" first.assert_text "First row" second.assert_text "Second row" third.assert_text "Third row" ```
- Loading branch information