@@ -209,7 +209,7 @@ Rectangle {
209 id: dataArea
209 id: dataArea
210 anchors { left: parent.left; right: parent.right }
210 anchors { left: parent.left; right: parent.right }
211 height: units.gu(25)
211 height: units.gu(25)
212− text: JSON.stringify(cardTool.priv.cardData, undefined, 2)
212+ text: JSON.stringify(testCase.internalCard.cardData, undefined, 2)
@@ -239,8 +239,14 @@ Rectangle {
239 id: testCase
239 id: testCase
240 name: "Card"
240 name: "Card"
242+ property Card internalCard: findChild(cardTool, "card")
242 when: windowShown
244 when: windowShown
247+ verify(typeof testCase.internalCard === "object", "Couldn't find internal card object.");
244 function cleanup() {
250 function cleanup() {
245 selector.selectedIndex = -1;
251 selector.selectedIndex = -1;
246 layoutSelector.selectedIndex = -1;
252 layoutSelector.selectedIndex = -1;