summaryrefslogtreecommitdiffstats
path: root/tests/manual/wasm/qwasmwindow/qwasmwindow_harness.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Move the selenium qwasmwindow test to the selenium dirMikolaj Boc2023-07-241-270/+0
| | | | | | | | This is done in anticipation of another test for dragging Change-Id: I56961eb1d16a4a6b6c58890c9c882dea813dfa08 Reviewed-by: Piotr Wierciński <[email protected]> Reviewed-by: Mikołaj Boc <[email protected]>
* Add window painting testcase to the QWasmWindow testMikolaj Boc2023-06-151-4/+32
| | | | | | | | | The test checks whether windows repaint correctly by sampling the background after their backing stores have been flushed. Change-Id: Ib544457074d7d477a4acdc5c331ef83e5ba471d2 Reviewed-by: Piotr Wierciński <[email protected]> Reviewed-by: Mikołaj Boc <[email protected]>
* Support child windows on WASMMikolaj Boc2023-06-151-8/+66
| | | | | | | | | | | | | | Setting parents for WASM platform windows is now supported. This means that windows now reside in a hierarchical window tree, with the screen and individual windows being nodes (QWasmWindowTreeNode), each maintaining their own child window stack. The divs backing windows are properly reparented in response to Qt window parent changes, so that the html structure reflects what is happening in Qt. Change-Id: I55c91d90caf58714342dcd747043967ebfdf96bb Reviewed-by: Morten Johan Sørvig <[email protected]>
* Correctly focus WASM windows on showMikolaj Boc2023-06-091-1/+36
| | | | | | | | | | | Since first requestActivate may happen before the window div is actually displayed on-screen, we need to sync Qt's activation state with DOM as soon as DOM element becomes visible. Focusing an invisible element is impossible. Fixes: QTBUG-79934 Change-Id: I04cf9b4ead006c9b8b135b3b6967d7938c581833 Reviewed-by: Morten Johan Sørvig <[email protected]>
* Add multitouch test cases to qwasmwindow testMikolaj Boc2023-02-231-1/+2
| | | | | | | | Three touch points that move/resize three windows simultaneously are tested Change-Id: I17d0c8c6c5c90f5121a098e5b67174167cd5aaa5 Reviewed-by: Lorn Potter <[email protected]>
* Polish the qwasmwindow manual testMikolaj Boc2023-02-221-12/+9
| | | | | Change-Id: I9d21404bcf6da7650ec63ef41d5134bb89485a84 Reviewed-by: Edward Welbourne <[email protected]>
* Add a manual test for wasm window resizing/movingMikolaj Boc2023-02-141-0/+151
This tests resizing and moving in various setups. The test driver communicates with the actual modules to assert various postconditions. It's semi-automated so that minimum interaction is required. Change-Id: I745d689c6ffa6aa6d478b795dd433f5b067241f1 Reviewed-by: Lorn Potter <[email protected]>