Commit 198ffc9b authored by Gabriel L. Oliveira's avatar Gabriel L. Oliveira

Now page is reloaded twice

parent ee95197e
......@@ -15,7 +15,8 @@ class TestUNGDocsTableEditor(UNGTestMixin):
self.selenium.run_script("$(\"#0_table0_cell_c0_r0\").html(\"Gabriel\")")
self.selenium.run_script("$(\"#0_table0_cell_c1_r1\").html(\"Monnerat\")")
self.selenium.click("//button[@class=\"save\"]")
self.selenium.wait_for_page_to_load("30000")
for page_reload in range(2):
self.selenium.wait_for_page_to_load("30000")
self.assertEqual("Gabriel", self.selenium.get_text("//td[@id='0_table0_cell_c0_r0']"))
self.assertEqual("Monnerat", self.selenium.get_text("//td[@id='0_table0_cell_c1_r1']"))
......
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