on xenial help sign in
Correct test...
0609c23Andrea Cimitan
tests/qmltests/tst_Shell.qml+1−1
@@ -291,7 +291,7 @@ Item {
291 function test_wallpaper(data) {
291 function test_wallpaper(data) {
292 var backgroundImage = findChild(shell, "backgroundImage")
292 var backgroundImage = findChild(shell, "backgroundImage")
293 GSettingsController.setPictureUri(data.url)
293 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)
295 tryCompare(backgroundImage, "status", Image.Ready)
295 tryCompare(backgroundImage, "status", Image.Ready)
296 }
296 }
297 }
297 }