示例#1
0
 def test_chronological_sequence_2nd_page(self, tested_events, selenium):
     """Verify that chronological order is continue at 2nd page too."""
     page_1 = self.get_event_tab()
     last_event_datetime_page_1 = page_1.event_attrs("time")[-1]
     event_tab_page_2 = page_1.go_to_next_page()
     event_datetimes_page_2 = event_tab_page_2.event_attrs("time")
     assert last_event_datetime_page_1 >= event_datetimes_page_2[0]
     date_utils.assert_chronological_order(event_datetimes_page_2)
示例#2
0
 def test_chronological_sequence_2nd_page(self, tested_events, selenium):
   """Verify that chronological order is continue at 2nd page too."""
   page_1 = self.get_event_tab()
   last_event_datetime_page_1 = page_1.event_attrs("time")[-1]
   event_tab_page_2 = page_1.go_to_next_page()
   event_datetimes_page_2 = event_tab_page_2.event_attrs("time")
   assert last_event_datetime_page_1 >= event_datetimes_page_2[0]
   date_utils.assert_chronological_order(event_datetimes_page_2)
示例#3
0
 def test_chronological_sequence_1st_page(self, tested_events, selenium):
     """Verify that items on 1st page is presented on tab in chronological
 order."""
     datetime_list = self.get_event_tab().event_attrs("time")
     date_utils.assert_chronological_order(datetime_list)
示例#4
0
 def test_chronological_sequence_1st_page(self, tested_events, selenium):
   """Verify that items on 1st page is presented on tab in chronological
   order."""
   datetime_list = self.get_event_tab().event_attrs("time")
   date_utils.assert_chronological_order(datetime_list)