diff --git a/tests/auto/quickcontrols2/controls/data/tst_combobox.qml b/tests/auto/quickcontrols2/controls/data/tst_combobox.qml index 5359f63c4a..71f4f71174 100644 --- a/tests/auto/quickcontrols2/controls/data/tst_combobox.qml +++ b/tests/auto/quickcontrols2/controls/data/tst_combobox.qml @@ -155,7 +155,11 @@ TestCase { compare(control.highlightedIndex, -1) compare(control.currentText, "") verify(control.delegate) - verify(control.indicator) + if (Qt.platform.pluginName !== "cocoa" && Qt.platform.pluginName !== "windows") { + // Only the non-native styles sets an indicator delegate. The native + // styles will instead draw the indicator as a part of the background. + verify(control.indicator) + } verify(control.popup) verify(control.acceptableInput) compare(control.inputMethodHints, Qt.ImhNoPredictiveText) diff --git a/tests/auto/quickcontrols2/controls/macos/BLACKLIST b/tests/auto/quickcontrols2/controls/macos/BLACKLIST index 8ea01a3584..95bc58171b 100644 --- a/tests/auto/quickcontrols2/controls/macos/BLACKLIST +++ b/tests/auto/quickcontrols2/controls/macos/BLACKLIST @@ -3,8 +3,6 @@ # QTBUG-95678 # Blacklisted in order to get the native macOS style under # regression control -[ComboBox::test_defaults] -* [ComboBox::test_font] * [ComboBox::test_implicitContentWidthPolicy_WidestText]