Commit d5231e7f authored by Gabriel L. Oliveira's avatar Gabriel L. Oliveira

Increase refresh tries

parent 00dac8df
...@@ -615,7 +615,7 @@ class TestUNGCalendar(UNGTestMixin): ...@@ -615,7 +615,7 @@ class TestUNGCalendar(UNGTestMixin):
#assert event is present #assert event is present
self.assertTrue(self.selenium.is_text_present(event_name)) self.assertTrue(self.selenium.is_text_present(event_name))
#click refresh button 10 times #click refresh button 10 times
for _refresh in range(5): for _refresh in range(10):
self.selenium.click("//div/span[@title='Refresh view']") self.selenium.click("//div/span[@title='Refresh view']")
self.selenium.wait_for_condition("selenium.browserbot.findElementOrNull('loadingpannel').style.display == 'none'", "10000"); self.selenium.wait_for_condition("selenium.browserbot.findElementOrNull('loadingpannel').style.display == 'none'", "10000");
#assert only 1 event is present #assert only 1 event is present
......
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