Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

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

Improve tests

parent 8b83df51
......@@ -28,7 +28,7 @@ DiscoverTest
SignalSpy {
id: cancelSpy
target: TransactionModel
signalName: "transactionCancelled"
signalName: "transactionRemoved"
}
function test_cancel() {
app.openApplication("dummy://dummy.2");
......
......@@ -39,10 +39,9 @@ DiscoverTest
compare(updatePage.state, "progressing", "to update")
var button = findChild(updatePage, "Button")
verify(!button.isActive)
while(updatePage.state != "now-uptodate")
waitForSignal(updatePage, "stateChanged")
appRoot.close()
}
while(updatePage.state != "now-uptodate")
waitForSignal(updatePage, "stateChanged")
}
}
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