controller_timeset.t:
- a new warining was added so you cant tye in invalid values anymore in
timeset events (repeat by weekday). now test if invalid values get rejected
and if warning pops up.
Change-Id: Ib4ff3761e1086673eb35e9830760dd353755496a
@ -112,7 +114,7 @@ $d->fill_element('//*[@id="event_table_filter"]/label/input', 'xpath', 'Hello, i
diag("Check details");
ok($d->find_element_by_xpath('//*[@id="event_table"]//tr[1]/td[contains(text(), "Hello, im a special Event =)")]'),"Description is correct");
ok($d->find_element_by_xpath('//*[@id="event_table"]//tr[1]/td[contains(text(), "every day on Monday from 12:00:00 to 12:20:00")]'),"Date/Time is correct");
ok($d->find_element_by_xpath('//*[@id="event_table"]//tr[1]/td[contains(text(), "every day from 12:00:00 to 12:20:00")]'),"Date/Time is correct");
is($d->get_text_safe('//*[@id="content"]//div[contains(@class, "alert")]'),'Event entry successfully created','Correct Alert was shown');
ok($d->find_element_by_xpath('//*[@id="event_table"]//tr[1]/td[contains(text(), "Very important event")]'),"Description is correct");
ok($d->find_element_by_xpath('//*[@id="event_table"]//tr[1]/td[contains(text(), "every day on the 1st Friday from 12:00:00 to 13:00:00")]'),"Date/Time is correct");
ok($d->find_element_by_xpath('//*[@id="event_table"]//tr[1]/td[contains(text(), "every day on the 2nd Friday from 12:00:00 to 13:00:00")]'),"Date/Time is correct");