Skip tst_QDockWidget::restoreDockWidget on Wayland

There is something wrong with dock widget positioning on Wayland.
In the interest of getting tests running at all, we skip the
test for now, like we already do with a few others.

Task-number: QTBUG-91418
Task-number: QTBUG-91483
Change-Id: I44f5fa0e4d0a43a46ce24a61a899bfcc03787f28
Reviewed-by: Liang Qi <liang.qi@qt.io>
bb10
Eskil Abrahamsen Blomfeldt 2021-03-02 12:21:46 +01:00
parent 68e69588e0
commit 75c1038311
1 changed files with 6 additions and 0 deletions

View File

@ -779,6 +779,9 @@ void tst_QDockWidget::restoreStateWhileStillFloating()
void tst_QDockWidget::restoreDockWidget()
{
if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"), Qt::CaseInsensitive))
QSKIP("Fails on Wayland: QTBUG-91483");
QByteArray geometry;
QByteArray state;
@ -973,6 +976,9 @@ void tst_QDockWidget::taskQTBUG_1665_closableChanged()
void tst_QDockWidget::taskQTBUG_9758_undockedGeometry()
{
if (QGuiApplication::platformName().startsWith(QLatin1String("wayland"), Qt::CaseInsensitive))
QSKIP("Fails on Wayland: QTBUG-91483");
QMainWindow window;
QDockWidget dock1(&window);
QDockWidget dock2(&window);