@@ -209,7 +209,7 @@ Rectangle {
209209 id: dataArea
210210 anchors { left: parent.left; right: parent.right }
211211 height: units.gu(25)
212− text: JSON.stringify(cardTool.priv.cardData, undefined, 2)
212+ text: JSON.stringify(testCase.internalCard.cardData, undefined, 2)
213213 }
214214
215215 Label {
@@ -239,8 +239,14 @@ Rectangle {
239239 id: testCase
240240 name: "Card"
241241
242+ property Card internalCard: findChild(cardTool, "card")
243+
242244 when: windowShown
243245
246+ function init() {
247+ verify(typeof testCase.internalCard === "object", "Couldn't find internal card object.");
248+ }
249+
244250 function cleanup() {
245251 selector.selectedIndex = -1;
246252 layoutSelector.selectedIndex = -1;