Commit 73d460c2 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Fix tests

parent b092b3b6
......@@ -83,8 +83,8 @@ DiscoverTest
appRoot.close()
verify(appRoot.visible);
verify(waitForSignal(updatePage, "stateChanged"))
compare(updatePage.state, "now-uptodate", "update finished")
while(updatePage.state !== "now-uptodate")
waitForSignal(updatePage, "stateChanged")
compare(ResourcesModel.updatesCount, 0, "should be up to date")
}
......
......@@ -36,7 +36,7 @@ DiscoverTest
{
var updatePage = appRoot.stack.currentItem;
compare(typeName(updatePage), "UpdatesPage")
compare(updatePage.state, "progressing", "to update")
compare(updatePage.state, "has-updates", "to update")
var button = findChild(updatePage, "Button")
verify(!button.isActive)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment