Commit 9818e389 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau Committed by Laurent Montel
Browse files

SieveEditorHelpHtmlWidgetTest: handle 0x0-sized window failing expectations

parent 93ae39d0
Pipeline #74254 passed with stage
in 9 minutes and 54 seconds
......@@ -26,6 +26,9 @@ SieveEditorHelpHtmlWidgetTest::~SieveEditorHelpHtmlWidgetTest()
void SieveEditorHelpHtmlWidgetTest::shouldHaveDefaultValue()
{
KSieveUi::SieveEditorHelpHtmlWidget w;
// widget is 0x0 size without any content, which results in show() not creating a window, at least in Qt 5.15
// so set some dummy size to make window appear
w.resize(100, 100);
w.show();
QVERIFY(QTest::qWaitForWindowExposed(&w));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment