@@ -167,6 +167,7 @@ Rectangle {
167167 when: windowShown
168168
169169 property Item header: findChild(card, "cardHeader")
170+ property Item title: findChild(header, "titleLabel")
170171 property Item art: findChild(card, "artShape")
171172 property Item artImage: findChild(card, "artImage")
172173 property Item summary: findChild(card, "summaryLabel")
@@ -354,5 +355,18 @@ Rectangle {
354355 compare(testCase.art.height, 0);
355356 compare(testCase.art.width, 0);
356357 }
358+
359+ function test_font_weights_data() {
360+ return [
361+ { tag: "Title only", index: 8, weight: Font.Normal },
362+ { tag: "Title, subtitle", index: 0, weight: Font.DemiBold },
363+ ]
364+ }
365+
366+ function test_font_weights(data) {
367+ selector.selectedIndex = data.index;
368+
369+ tryCompare(testCase.title.font, "weight", data.weight);
370+ }
357371 }
358372}