Commit 786d6713 authored by Stephane Glondu's avatar Stephane Glondu Committed by Stéphane Glondu

Fix tests

parent a460d277
Pipeline #114902 passed with stage
in 28 minutes and 34 seconds
......@@ -285,7 +285,7 @@ counts."""
wait_a_bit()
trustee_link_css_selector = "#main table tr:nth-of-type(" + str(idx + 3) + ") td:nth-of-type(3) a" # First row of table corresponds to column titles. Second row correpond to server trustee.
trustee_link_css_selector = "#main table tr:nth-of-type(" + str(idx + 3) + ") td:nth-of-type(4) a" # First row of table corresponds to column titles. Second row correpond to server trustee.
trustee_link_element = wait_for_element_exists_and_has_non_empty_content(browser, trustee_link_css_selector)
self.links_for_trustees.append(trustee_link_element.get_attribute('href'))
......
......@@ -98,7 +98,7 @@ class BeleniosTestElectionScenario4(BeleniosTestElectionScenario2Base):
submit_button_element = wait_for_element_exists(browser, submit_button_css_selector)
submit_button_element.click()
trustee_link_css_selector = "#main table tbody tr:nth-of-type(" + str(idx + 2) + ") td:nth-of-type(3) a"
trustee_link_css_selector = "#main table tbody tr:nth-of-type(" + str(idx + 2) + ") td:nth-of-type(4) a"
trustee_link_element = wait_for_element_exists_and_has_non_empty_content(browser, trustee_link_css_selector)
self.links_for_trustees.append(trustee_link_element.get_attribute('href'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment