on xenial help sign in
One more fix for PreviewAudioPlayback test
commitbf4b2a4c8ff6a2e079a7a293642321b1c2981570 authorAlfonso Sanchez-Beato <alfonso.sanchez-beato@canonical.com> dateFri 26 Aug 2016, 10:01 (10 years ago) parent195f67d
1 file changed+1−1
tests/qmltests/Dash/Previews/tst_PreviewAudioPlayback.qml+1−1
tests/qmltests/Dash/Previews/tst_PreviewAudioPlayback.qml+1−1
@@ -171,7 +171,7 @@ Rectangle {
171171 // Playing track 2 should make progress bar 1 visible and hide progress bar 0 again
172172 mouseClick(track2PlayButton);
173173
174− tryCompare(audio, "playbackState", Audio.PlayingState);
174+ verify(DashAudioPlayer.playing == true);
175175 checkPlayerSource(2);
176176
177177 tryCompare(track0ProgressBar, "visible", false);