summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-10-06 17:23:18 +0200
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-10-06 17:23:18 +0200
commit7008aee88ef522af0277ca37667583e61d8fa445 (patch)
tree857f26667c5898c640a1f2a3244dbfbdc1cec96c
parent4854ad542648e85f0ffb7c11bfb729406d032dcc (diff)
downloadkube-7008aee88ef522af0277ca37667583e61d8fa445.tar.gz
kube-7008aee88ef522af0277ca37667583e61d8fa445.zip
Test that we start into the account wizard
-rw-r--r--components/accounts/contents/ui/AccountWizard.qml1
-rw-r--r--tests/tst_applicationstart.qml5
2 files changed, 5 insertions, 1 deletions
diff --git a/components/accounts/contents/ui/AccountWizard.qml b/components/accounts/contents/ui/AccountWizard.qml
index 38bf19cb..4a11ca05 100644
--- a/components/accounts/contents/ui/AccountWizard.qml
+++ b/components/accounts/contents/ui/AccountWizard.qml
@@ -23,6 +23,7 @@ import org.kube.framework 1.0 as Kube
23 23
24Kube.Popup { 24Kube.Popup {
25 id: root 25 id: root
26 objectName: "accountWizard"
26 27
27 property bool requireSetup: false 28 property bool requireSetup: false
28 property var availableAccountPlugins: [] 29 property var availableAccountPlugins: []
diff --git a/tests/tst_applicationstart.qml b/tests/tst_applicationstart.qml
index b5d7a396..16107ec0 100644
--- a/tests/tst_applicationstart.qml
+++ b/tests/tst_applicationstart.qml
@@ -31,8 +31,11 @@ TestCase {
31 name: "ApplicationStart" 31 name: "ApplicationStart"
32 32
33 Kube.Kube { 33 Kube.Kube {
34 id: kube
34 } 35 }
35 36
36 function test_stuff() { 37 function test_startToWizard() {
38 var accountWizard = findChild(kube, "accountWizard");
39 verify(accountWizard.visible)
37 } 40 }
38} 41}