on xenial help sign in
Correct test...
commit0609c2311e6af4a68592680d437e9a3b7943bc3b authorAndrea Cimitan <andrea.cimitan@canonical.com> dateTue 13 Aug 2013, 11:54 (13 years ago) parent3685b23
1 file changed+1−1
tests/qmltests/tst_Shell.qml+1−1
tests/qmltests/tst_Shell.qml+1−1
@@ -291,7 +291,7 @@ Item {
291291 function test_wallpaper(data) {
292292 var backgroundImage = findChild(shell, "backgroundImage")
293293 GSettingsController.setPictureUri(data.url)
294− tryCompareFunction(function() { return backgroundImage.source.toString().indexOf(data.url) !== -1; }, true)
294+ tryCompareFunction(function() { return backgroundImage.source.toString().indexOf(data.expectedUrl) !== -1; }, true)
295295 tryCompare(backgroundImage, "status", Image.Ready)
296296 }
297297 }