mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-27 15:54:29 +02:00
Removed unnecessary call
refresh_N_times_until_find_element was called twice and was unnecessary in line 43
This commit is contained in:
parent
8db5a5c4fd
commit
dda6a03bc0
@ -40,7 +40,6 @@ class PAN3(PandoraWebDriverTestCase):
|
|||||||
driver.find_element_by_id("text-name").send_keys("ping test")
|
driver.find_element_by_id("text-name").send_keys("ping test")
|
||||||
driver.find_element_by_id("submit-crtbutton").click()
|
driver.find_element_by_id("submit-crtbutton").click()
|
||||||
driver.find_element_by_xpath('//*[@id="menu_tab"]//a[contains(@href,"ver_agente")]').click()
|
driver.find_element_by_xpath('//*[@id="menu_tab"]//a[contains(@href,"ver_agente")]').click()
|
||||||
element_text = refresh_N_times_until_find_element(driver,5,"table1-1-7",how=By.ID).text
|
|
||||||
|
|
||||||
max_retries = 3
|
max_retries = 3
|
||||||
i = 1
|
i = 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user