summaryrefslogtreecommitdiffstats
path: root/tests/manual/wasm/qwasmwindow/qwasmwindow.py
Commit message (Collapse)AuthorAgeFilesLines
* Move the selenium qwasmwindow test to the selenium dirMikolaj Boc2023-07-241-933/+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 keyboard input testcase to the QWasmWindow testMikolaj Boc2023-06-201-0/+49
| | | | | | | | | | | | | The test checks whether correct windows get correct keyboard input, having been activated with mouse clicks. Also fixes the event propagation error found. Key events would propagate to parent windows, which is something that should not happen with window managers. Change-Id: I18bae8c14cce5ccae151c2a00c84ffdba3b4587f Reviewed-by: Mikołaj Boc <[email protected]> Reviewed-by: Piotr Wierciński <[email protected]>
* Add window painting testcase to the QWasmWindow testMikolaj Boc2023-06-151-0/+70
| | | | | | | | | 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-45/+373
| | | | | | | | | | | | | | 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-0/+41
| | | | | | | | | | | 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]>
* Wasm testing: Refactor test framework and update testsPiotr Wierciński2023-03-171-310/+367
| | | | | | | | | Update tests so they take into account minimum QWasmWindow size constraints. Refactor test framework and make it easier to read and write new tests. Change-Id: I621c5eee6577f1569eef93e883d1cf0828e3946f Reviewed-by: Mikołaj Boc <[email protected]>
* Add multitouch test cases to qwasmwindow testMikolaj Boc2023-02-231-3/+124
| | | | | | | | Three touch points that move/resize three windows simultaneously are tested Change-Id: I17d0c8c6c5c90f5121a098e5b67174167cd5aaa5 Reviewed-by: Lorn Potter <[email protected]>
* Autopep qwasmwindow.pyMikolaj Boc2023-02-201-11/+22
| | | | | | | Change-Id: I96a5f17a8c2e4f544d8a2d5a5a3685fec54ee0cb Reviewed-by: Edward Welbourne <[email protected]> Reviewed-by: Cristian Maureira-Fredes <[email protected]> Reviewed-by: Ievgenii Meshcheriakov <[email protected]>
* Add a manual test for wasm window resizing/movingMikolaj Boc2023-02-141-0/+256
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]>