Skip to content

Commit

Permalink
Adjust history present in grid selenium test
Browse files Browse the repository at this point in the history
  • Loading branch information
guerler committed Jan 15, 2024
1 parent 53f3c43 commit acaeeae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/galaxy_test/selenium/test_histories_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,8 +221,9 @@ def test_advanced_search(self):
def assert_histories_present(self, expected_histories, sort_by_matters=False):
present_histories = self.get_present_histories()
assert len(present_histories) == len(expected_histories)
name_column = 1
for index, row in enumerate(present_histories):
cell = row.find_elements(By.TAG_NAME, "td")[0]
cell = row.find_elements(By.TAG_NAME, "td")[name_column]
if not sort_by_matters:
assert cell.text in expected_histories
else:
Expand Down

0 comments on commit acaeeae

Please sign in to comment.