Commit f09e3ed1 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Fix UpdateAndInstall test

parent 88257be7
......@@ -32,7 +32,9 @@ DiscoverTest
{
var updatePage = appRoot.stack.currentItem;
compare(typeName(updatePage), "UpdatesPage")
compare(updatePage.state, "has-updates", "to update")
while(updatePage.state === "fetching")
waitForSignal(updatePage, "stateChanged")
compare(updatePage.state, "now-uptodate", "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