diff options
| author | Doris Verria <doris.verria@qt.io> | 2022-07-20 17:55:21 +0200 |
|---|---|---|
| committer | Doris Verria <doris.verria@qt.io> | 2022-07-22 10:31:41 +0000 |
| commit | 76d992431e113c3df9b6f879e2889973d5093a44 (patch) | |
| tree | 2a857945a5d1b9f3833602d8f597e7f19e3d84c5 /src/qml/compiler/qqmlirbuilder.cpp | |
| parent | 9ab8117aaf28c299d6d0167c7169289d0a93cf6b (diff) | |
tst_qquickmenu: Fix click position and wait for menu opened() signal
- When clicking on the menu, take into account the menu's coordinates
as this may not always be (0,0) depending on the style-specific margins.
- Wait for the menu enter transitions to finish before trying to
interact with it, otherwise it leads to flakiness.
- Explicitly set the overlap property to 0 when testing the submenus
as the test relies on the menuItem to be clickable and not hidden by
an overlapping subMenu item.
Pick-to: 6.2 6.3 6.4
Change-Id: I561f47e69b2c9ee12c46f6accacd06e22b448df5
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/qml/compiler/qqmlirbuilder.cpp')
0 files changed, 0 insertions, 0 deletions
