Commit 758e4c09 authored by Gabriel L. Oliveira's avatar Gabriel L. Oliveira

Fix locators when creating an event at create_calendar_event

parent dc70c3c9
...@@ -124,19 +124,19 @@ class UNGTestMixin(unittest.TestCase): ...@@ -124,19 +124,19 @@ class UNGTestMixin(unittest.TestCase):
if start_month: if start_month:
self.selenium.type("start_date_month", start_month) self.selenium.type("start_date_month", start_month)
if end_month: if end_month:
self.selenium.type("stop_date_month", stop_month) self.selenium.type("stop_date_month", end_month)
else: else:
self.selenium.type("stop_date_month", start_month) self.selenium.type("stop_date_month", start_month)
if start_day: if start_day:
self.selenium.type("start_date_day", start_day) self.selenium.type("start_date_day", start_day)
if end_day: if end_day:
self.selenium.type("stop_date_day", stop_day) self.selenium.type("stop_date_day", end_day)
else: else:
self.selenium.type("stop_date_day", start_day) self.selenium.type("stop_date_day", start_day)
if start_year: if start_year:
self.selenium.type("start_date_year", start_year) self.selenium.type("start_date_year", start_year)
if end_year: if end_year:
self.selenium.type("stop_date_year", stop_year) self.selenium.type("stop_date_year", end_year)
else: else:
self.selenium.type("stop_date_year", start_year) self.selenium.type("stop_date_year", start_year)
......
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