Autopilot tests fail

Bug #1613328 reported by Zoltan Balogh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Music App
Fix Released
Critical
Andrew Hayzen

Bug Description

ERROR: music_app.tests.test_music.TestMainWindow.test_add_songs_to_queue_from_songs_tab_and_play
ERROR: music_app.tests.test_music.TestMainWindow.test_pressing_prev_from_first_song_plays_last_when_repeat_on
ERROR: music_app.tests.test_music.TestMainWindow.test_playback_stops_when_last_song_ends_and_repeat_off
ERROR: music_app.tests.test_music.TestMainWindow.test_swipe_to_delete_song
ERROR: music_app.tests.test_music.TestMainWindow.test_mp3
ERROR: music_app.tests.test_music.TestMainWindow.test_play_pause_library
ERROR: music_app.tests.test_music.TestMainWindow.test_play_pause_now_playing
ERROR: music_app.tests.test_music.TestMainWindow.test_show_albums_page
ERROR: music_app.tests.test_music.TestMainWindow.test_pressing_next_from_last_song_plays_first_when_repeat_on
ERROR: music_app.tests.test_music.TestMainWindow.test_pressing_prev_after_5_seconds
ERROR: music_app.tests.test_music.TestMainWindow.test_artists_tab_album
ERROR: music_app.tests.test_music.TestMainWindow.test_add_song_to_queue_from_albums_page
ERROR: music_app.tests.test_music.TestMainWindow.test_shuffle
ERROR: music_app.tests.test_music.TestMainWindow.test_playback_repeats_when_last_song_ends_and_repeat_on
ERROR: music_app.tests.test_music.TestMainWindow.test_add_song_to_queue_from_songs_tab
ERROR: music_app.tests.test_music.TestMainWindow.test_next_previous
ERROR: music_app.tests.test_music.TestMainWindow.test_create_playlist_from_songs_tab
ERROR: music_app.tests.test_music.TestMainWindow.test_select_and_delete_playlist
ERROR: music_app.tests.test_music.TestMainWindow.test_reads_music_library

Related branches

Revision history for this message
Zoltan Balogh (bzoltan) wrote :
Revision history for this message
Andrew Hayzen (ahayzen) wrote :

Failing because of the move away from Tabs to using leadingActionBar, so instead of switch_to_tab use PageHeader.leadingActionBar then click_action_bar(objectName)

Changed in music-app:
assignee: nobody → Andrew Hayzen (ahayzen)
importance: Undecided → Critical
status: New → In Progress
Revision history for this message
Tim Peeters (tpeeters) wrote :

The current music-app autopilot tests make use of main_view.switch_to_tab() which is the CPO for the old header. When using the new PageHeader, use the click_action_button() function of the CPO of PageHeader.leadingActionBar instead.

Revision history for this message
Jenkins Bot (ubuntu-core-apps-jenkins-bot) wrote :

Fix committed into lp:music-app at revision None, scheduled for release in music-app, milestone ota11

Changed in music-app:
status: In Progress → Fix Committed
Andrew Hayzen (ahayzen)
Changed in music-app:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.