[gnome-music] tests: select first real artists, not 'All Artitsts'
- From: Vadim Rutkovsky <vrutkovsky src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music] tests: select first real artists, not 'All Artitsts'
- Date: Mon, 20 May 2013 09:34:16 +0000 (UTC)
commit f58d732dc97f5fc514dd0660db99734a24ee6f69
Author: Vadim Rutkovsky <vrutkovs redhat com>
Date: Mon May 20 11:34:04 2013 +0200
tests: select first real artists, not 'All Artitsts'
tests/tests_artistsPlayback.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/tests/tests_artistsPlayback.js b/tests/tests_artistsPlayback.js
index a4cee8b..8a4234b 100644
--- a/tests/tests_artistsPlayback.js
+++ b/tests/tests_artistsPlayback.js
@@ -60,12 +60,13 @@ function testArtistsViewPlayback() {
// The album has title and artist displayed (not null values)
let firstArtistIter = artistView._model.get_iter_first()[1];
+ artistView._model.iter_next(firstArtistIter)
let firstArtistPath = artistView._model.get_path(firstArtistIter);
let artist = artistView._model.get_value(firstArtistIter, 0);
log(" First artist is '"+artist+"'")
assertNotNull(artist)
- // Select first artist
+ // Select first artist, not 'All Artists'
artistView.view.emit('item-activated', "0", firstArtistPath);
let artistAlbumsWidget = artistView.artistAlbums;
assertTrue(artistAlbumsWidget.widgets.length > 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]