diff options
-rw-r--r-- | views/accounts/tests/tst_accountsview.qml | 9 |
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 | ||
20 | import QtQuick 2.7 | 20 | import QtQuick 2.7 |
21 | import QtTest 1.0 | 21 | import QtTest 1.0 |
22 | import org.kube.test 1.0 | ||
22 | import "../qml" | 23 | import "../qml" |
23 | 24 | ||
24 | TestCase { | 25 | TestCase { |
@@ -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 | } |