~nskaggs/ubuntu-calendar-app/carla-fix

« back to all changes in this revision

Viewing changes to tests/autopilot/ubuntu_calendar_app/tests/test_calendar.py

  • Committer: nskaggs
  • Date: 2013-06-17 19:38:25 UTC
  • Revision ID: nicholas.skaggs@canonical.com-20130617193825-8oqukkmgnrwzyaoh
both ap tests working

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
        event_view = lambda: self.main_window.get_event_view().eventViewType
29
29
 
30
30
        self.ubuntusdk.click_toolbar_button('Timeline')
31
 
        self.assertThat(event_view, Eventually(Equals("DiaryView.qml")))
 
31
        self.assertThat(event_view, Eventually(Equals("TimeLineView.qml")))
32
32
        self.ubuntusdk.click_toolbar_button('Diary')
 
33
        self.assertThat(event_view, Eventually(Equals("DiaryView.qml")))
 
34
        self.ubuntusdk.click_toolbar_button('Timeline')
33
35
        self.assertThat(event_view, Eventually(Equals("TimeLineView.qml")))
34
 
        self.ubuntusdk.click_toolbar_button('Timeline')
35
 
        self.assertThat(event_view, Eventually(Equals("DiaryView.qml")))
36
36
 
37
37
    def test_new_event(self):
38
38
        #click on new event button