summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--views/accounts/tests/tst_accountsview.qml9
1 files changed, 7 insertions, 2 deletions
diff --git a/views/accounts/tests/tst_accountsview.qml b/views/accounts/tests/tst_accountsview.qml
index 096ca9eb..c278136f 100644
--- a/views/accounts/tests/tst_accountsview.qml
+++ b/views/accounts/tests/tst_accountsview.qml
@@ -19,6 +19,7 @@
19 19
20import QtQuick 2.7 20import QtQuick 2.7
21import QtTest 1.0 21import QtTest 1.0
22import org.kube.test 1.0
22import "../qml" 23import "../qml"
23 24
24TestCase { 25TestCase {
@@ -26,12 +27,16 @@ TestCase {
26 width: 400 27 width: 400
27 height: 400 28 height: 400
28 name: "AccountsView" 29 name: "AccountsView"
30 when: windowShown
29 31
30 View { 32 Component {
31 id: accountsView 33 id: accountsComponent
34 View {
35 }
32 } 36 }
33 37
34 function test_start() { 38 function test_start() {
39 var accountsView = createTemporaryObject(accountsComponent, testCase, {})
35 verify(accountsView) 40 verify(accountsView)
36 } 41 }
37} 42}