aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Cooke <[email protected]>2024-08-29 13:52:43 +0200
committerEd Cooke <[email protected]>2024-08-30 13:08:06 +0200
commit2002632ecbc7d250539639a07b35f8341462dcad (patch)
tree08373808b9893cfaa8872e36181b38aa036c9cd6
parentc127031caea2c443b0154dc71749b6d7e70f605c (diff)
Skip tst_qquickmaterialstyle palette propagation tests for popup windows
Currently popup windows do not support palette propagation. Skip the tests that test for it. Task-number: QTBUG-126553 Pick-to: 6.8 Change-Id: I16483665690d5df4311743513d6ec9c30bb92da5 Reviewed-by: Jan Arve Sæther <[email protected]>
-rw-r--r--tests/auto/quickcontrols/qquickmaterialstyle/data/tst_material.qml11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/auto/quickcontrols/qquickmaterialstyle/data/tst_material.qml b/tests/auto/quickcontrols/qquickmaterialstyle/data/tst_material.qml
index 001567d3a9..099010aca6 100644
--- a/tests/auto/quickcontrols/qquickmaterialstyle/data/tst_material.qml
+++ b/tests/auto/quickcontrols/qquickmaterialstyle/data/tst_material.qml
@@ -267,6 +267,10 @@ TestCase {
function test_inheritance_popup(data) {
let prop = data.tag
let popupObject = createTemporaryObject(popupComponent, testCase)
+
+ if (popupObject.popup.popupType === Popup.Window)
+ skip("QTBUG-126713: Palette propagation is currently not supported for QQuickPopupWindows.")
+
compare(popupObject.popup.Material.textSelectionColor.toString(), popupObject.Material.textSelectionColor.toString())
compare(popupObject.label.color.toString(), popupObject.Material.textSelectionColor.toString())
compare(popupObject.label2.color.toString(), popupObject.Material.textSelectionColor.toString())
@@ -523,6 +527,10 @@ TestCase {
let container = createTemporaryObject(menuComponent, testCase)
verify(container)
verify(container.menu)
+
+ if (container.menu.popupType === Popup.Window)
+ skip("QTBUG-126713: Palette propagation is currently not supported for QQuickPopupWindows.")
+
container.menu.open()
verify(container.menu.visible)
let child = container.menu.itemAt(0)
@@ -763,6 +771,9 @@ TestCase {
let window = createTemporaryObject(backgroundControlsComponent, testCase)
verify(window)
+ if (window.popup.popupType === Popup.Window)
+ skip("QTBUG-126713: Palette propagation is currently not supported for QQuickPopupWindows.")
+
let control = window[data.tag]
verify(control)