summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Blacklist flaky test_linkHoveredDoesntEmitRepeated QML testPeter Varga2016-11-221-0/+3
| | | | | | | Task-number: QTBUG-55870 Change-Id: I0d8dc7253e49662d1f73e7ef09d2529c530595b1 Reviewed-by: Milla Pohjanheimo <milla.pohjanheimo@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Remove mouse click workaround from test_navigationRequestedPeter Varga2016-11-171-3/+0
| | | | | | | | The issue has been fixed in the quick test framework. Task-number: QTBUG-56223 Change-Id: I101ca4cdd3f741623111d35d13dfcdb35ca85ea3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Wait for focus before key press in NewViewRequest::test_jsWindowOpenPeter Varga2016-11-165-45/+23
| | | | | | | | | This patch is intended to fix flaky failure and factors focus related test functions out to TestWebEngineView. Task-number: QTBUG-56540 Change-Id: Id7e17c08a4a9e863389ae991c9cadc00379377db Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add faviconbrowser quick manual testPeter Varga2016-11-1511-11/+774
| | | | | Change-Id: I3b6353b5c58d62c968c704b20224ff8ee600a524 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Rename class of tst_QWebEngineAccessibility widget auto testPeter Varga2016-11-151-10/+10
| | | | | Change-Id: I042e1be6f0c29b8dc8e5e409e5ecff71a58d0c64 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add spellchecker feature to new config systemMichal Klocek2016-11-141-1/+1
| | | | | Change-Id: I35a5c815c9f2b3ebacb5991ba6645641b17db2db Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Enable spellcheck test on macOSMichal Klocek2016-11-141-3/+6
| | | | | | Change-Id: I938ca8afb1d98103590a7ac4cbba77610a0eb099 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Make view source working with qrc URLsPeter Varga2016-11-111-10/+17
| | | | | | Task-number: QTBUG-56353 Change-Id: I9c5dc3a6ba4e6b08ecbb4e44d38a53d24010807b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Fix crash when trying to execute script on a detached RenderFramePeter Varga2016-11-082-15/+19
| | | | | | Task-number: QTBUG-56661 Change-Id: I546222dde64c54955c62d2c30df79d4773b9973c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Update spellcheck api to support multiple languagesMichal Klocek2016-10-294-9/+51
| | | | | | Task-number: QTBUG-56074 Change-Id: I2a66e91dd4ed1026e5ab2539cfd3f9094263b48c Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* Reimplement QML test cases of tst_loadUrl auto testv5.8.0-beta1Peter Varga2016-10-263-118/+209
| | | | | | | | | | | | | | | | | Get rid of some potential flaky issues: - Fix typo in redirect.html - Do not check URL before wait the result of the load. As a corner case the load might be finished earlier than the comparison. - Get rid of unnecessary signal handlers for unrelated test cases. The superfluous operations might have enough overhead to cause a comparison to be timed out. - Separate data URL test case and blacklist it due a to known issue (QTBUG-56661) Task-number: QTBUG-56180 Task-number: QTBUG-56661 Change-Id: I76cec4e761be646c2f60588a34bae806cf558b3a Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Add quick and widget auto tests for keyboard event handlingPeter Varga2016-10-256-0/+465
| | | | | | Task-number: QTBUG-56242 Change-Id: Ib6689d6f183532502382c86f92fdbdf27dd6c37c Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fix find after navigationPeter Varga2016-10-183-3/+20
| | | | | | | | | Update Chromium for the actual fix. Add quick auto test for the issue and unskip WebViewFindText::testfindTextManyMatches. Task-number: QTBUG-56373 Change-Id: Id70291e5231f572c85b0a7c1ec1b6facd161115a Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Speculative fix of title check in quick auto testsPeter Varga2016-10-173-20/+14
| | | | | | | | | Title might be changed after a successful page load too. The order is not guaranteed. Implement wait for the expected title change. Task-number: QTBUG-56180 Change-Id: If8c529e6246fe9e8c93e41be84c8934c8ed8d729 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* Refactor tst_keyboardModifierMapping.qml quick auto testPeter Varga2016-10-151-29/+13
| | | | | | | Simplify code and remove unnecessary wait calls. Change-Id: If3a783a2a4f97e84de993b9394f5cfa0df948ec2 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Speculative fix of tst_unhandledKeyEventPropagation.qml quick auto testPeter Varga2016-10-152-8/+3
| | | | | | | | This fix implements an attempt to remove wait from the test. Task-number: QTBUG-56180 Change-Id: I2bfeb14ebc9451a1237178aa3c97bd1b27e9485c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Speculative stabilization of test_focusOnNavigation quick auto testPeter Varga2016-10-152-13/+19
| | | | | | | Reimplement setting focus on a HTML element in JavaScript. Change-Id: I1db53bcb526fd52df1fa23527089f8186dfd0ea3 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Blacklist flaky QML NewViewRequest::test_jsWindowOpenPeter Varga2016-10-141-0/+3
| | | | | | Task-number: QTBUG-56540 Change-Id: Ic48883f94d72acf9a965fe8687abb20205a4703b Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Blacklist flaky QML WebViewFindText::test_findTextManyMatchesPeter Varga2016-10-141-0/+3
| | | | | | Task-number: QTBUG-56373 Change-Id: I599c02a12a0dfb35bb8b3d1d3abbede1c6498f9e Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Add Quick auto test for QQuickWebEngineNewViewRequestPeter Varga2016-10-072-0/+137
| | | | | | | Task-number: QTBUG-55765 Change-Id: I5576876191fe1c819aa85f2e312391126c904201 Reviewed-by: Christophe Chapuis <chris.chapuis@gmail.com> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* Merge remote-tracking branch 'origin/5.7' into 5.8Liang Qi2016-10-062-7/+7
|\ | | | | | | | | | | | | | | Conflicts: src/3rdparty src/webengine/api/qquickwebenginesettings.cpp Change-Id: Ie4abadb076c51d070cbb05f29b9ebcd9705933ad
| * Speculative stabilization of tst_QWebEnginePage::testJSPromptAllan Sandfeld Jensen2016-10-051-0/+3
| | | | | | | | | | | | | | | | Make sure we start in a well-defined state, and is not in process of setting up the blank page. Change-Id: I787db2ef75323bb72a5a6c6fd2e66b268f89b16d Reviewed-by: Michael Brüning <michael.bruning@qt.io>
| * Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-10-041-3/+2
| |\ | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty Change-Id: I49d99b5ac2cfba243eda1ea705c2a7d71b5542f6
| | * Fix flaky tst_QQuickWebEngineView::loadProgress testAlexandru Croitor2016-09-301-3/+2
| | | | | | | | | | | | | | | Change-Id: I102bda62bfaa16a8c9ff4c4929e6b5a055de3e25 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
| * | Fix flaky tst_QQuickWebEngineView::printToPdf test by using QTRY_VERIFYMichael Brüning2016-10-021-4/+2
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-55857 Change-Id: Ieb7fe836e7b03bea28dd97bcad343708a5be2cb5 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* | | Clean up qt quick controls 1 dialogsMichal Klocek2016-10-045-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | Based on code review for qqc2 integration, apply cleanup changes to qqc1. Change-Id: I9752ce944385a529a1d999a5419638868e18d799 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | | Remove viewSource and canViewSource APIs and use WebAction insteadPeter Varga2016-10-012-8/+11
| | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-56092 Change-Id: I026a0d153269a71e4e44f0fd30ef5ca054edd0e7 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Fix clicking in test_navigationRequestedPeter Varga2016-09-302-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | The second mouse click in the test was handled as a double click. Workaround the issue by changing click coordinate in the initialization. Task-number: QTBUG-56180 Change-Id: I12e94ed5dbccdde4c0e6335e8a1c8a5e59b2d6a6 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Speculative fix of user script QML testsPeter Varga2016-09-301-10/+11
| | | | | | | | | | | | | | | | | | | | | | | | The sequence of the titleChanged and loadingChanged signals is not guaranteed. Wait for both of them to avoid flaky behavior. Change-Id: I981cd20f6535187fa0f8144db0084c8bb64ab41c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Fixup test_titleFirstLoadAllan Sandfeld Jensen2016-09-301-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Also allow the title to change to the URL during loading until the content title is parsed. Change-Id: Ie8059885576c840dbee639a597f78e1004ba1851 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | | Minor cleanup of m_view/m_page useAllan Sandfeld Jensen2016-09-261-19/+14
| | | | | | | | | | | | | | | | | | | | | | | | Don't change the page of m_view, and don't make both page and view if not necessary. Change-Id: I27a4ecbc548e9b970bd561750cf15fb5490931ff Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | | Speculative fix of test_bigScriptAllan Sandfeld Jensen2016-09-262-5/+1
| | | | | | | | | | | | | | | | | | | | | Wait asynchronously on the title change. Change-Id: I4e3826c5206e1a1a77c095c3226406d4eee64eba Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | | Speculative stabilization of titleChangedAllan Sandfeld Jensen2016-09-263-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | Only wait on title-changed signal before checking, this also makes it safe to reduce the timeout for changing title, speeding up the test. Change-Id: I4ecaf9400dfea624b39c73277425e09a52ea7b92 Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | | Blacklist flaky tests on windowsAllan Sandfeld Jensen2016-09-261-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A number of tests are failing randomly on the windows CI. This patch disables them for now until they are stabilized. Task-number: QTBUG-56180 Change-Id: Ifddbd52ef0b3c123cccd934457fc8bdbb7a89613 Reviewed-by: Kai Koehne <kai.koehne@qt.io> Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu>
* | | Add support of colored underline and background to InputMethodEventPeter Varga2016-09-2318-57/+967
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moreover, unskip and update inputMethodsTextFormat widget auto test and move it to the tst_QWebEngineView tests. New manual test has been also added for testing input methods format. Task-number: QTBUG-55766 Change-Id: I4c71e15cb426925f76c770266a3c20f1cc12b687 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Merge remote-tracking branch 'origin/5.7' into 5.8Liang Qi2016-09-211-1/+5
|\| | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/3rdparty src/core/delegated_frame_node.h src/webengine/api/qquickwebenginecontextmenudata.cpp Change-Id: I163488d0d32cd981351608b2886f12e547e24672
| * | Fix test_scrollPositionAfterReload quick auto testPeter Varga2016-09-131-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Wait for scroll position change before reload. Task-number: QTBUG-55855 Change-Id: Ia42af1a4a76b2c507f4a88b39a469e3e37184ef7 Reviewed-by: Adam Kallai <kadam@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Remove the usages of experimental API from quicktestbrowserSzabolcs David2016-09-204-56/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The QtWebEngine.experimental import is not working, it suppresses the revisioned properties of WebEngineView objects. This is the first step to get rid of the QQuickWebEngineViewExperimental API. Change-Id: I5aacf4617df998520fe70d86a1d9043d6cc850af Reviewed-by: Peter Varga <pvarga@inf.u-szeged.hu> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Add widget auto test for WebEngineSettings default font familiesPeter Varga2016-09-181-0/+23
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-55222 Change-Id: Iff7ffc81d83598eff5ab8b1386298241e8a10979 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Adaptations to Chromium 52Allan Sandfeld Jensen2016-09-141-0/+2
| | | | | | | | | | | | | | | Change-Id: Idf8a511ba26d263fd9d014d87d5e1101d706da71 Reviewed-by: Michael Brüning <michael.bruning@qt.io>
* | | Add context menu request to qml apiMichal Klocek2016-08-311-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce qml APIs to support custom context menus. [ChangeLog][QtWebEngine][QML] Added ability to show custom context menu. Task-number: QTBUG-52554 Change-Id: Ief0cbbbf221f4c6849e16bbba7417dccee59ad61 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | | Add dialog requests to qml apiMichal Klocek2016-08-311-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Introduce qml APIs to support custom dialogs: * http and proxy authentication * javascript dialogs * file pickers * color pickers * form validation messages [ChangeLog][QtWebEngine][QML] Added ability to provide custom dialogs for HTTP and proxy authentication, JavaScript alerts, file and color picking, and form validation messages. Task-number: QTBUG-51190 Change-Id: I559ca59264750feb36ba7d3dba0bf0647509306d Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | | Update public API listAdam Kallai2016-08-311-0/+10
| | | | | | | | | | | | | | | Change-Id: I40ed13a5dd1d0eaea950bd80b65378bfb303275d Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Autocomplete view-source URLPeter Varga2016-08-242-0/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | User may miss the URL scheme (eg. http://) when type a view-source url into the browser's location bar (eg. view-source:qt.io). This is not handled by the Chromium thus will produce an empty view-source page. The new autocompletion extends the incomplete view-source URL thus it will provide valid URL if it is possible (eg. view-source:http://qt.io/) Change-Id: I3edcd271cd0a971c9754e875db8f2a55a9a545de Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Fix tst_QWebEnginePage::popupFormSubmission widget auto testPeter Varga2016-08-241-7/+12
| | | | | | | | | | | | | | | Change-Id: Ife988a414e0037fe7f3dde3e2e3332119b965b2c Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Blacklist flaky QML WebEngineViewFocusOnNavigation testAlexandru Croitor2016-08-231-0/+3
| | | | | | | | | | | | | | | Change-Id: I7886475f6f3f288704608a4e4d9c8cfeeb244e62 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
* | | Make spellcheck autotest more robustAllan Sandfeld Jensen2016-08-231-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | The replace action is performed asynchronously, so we need to give it time to take effect. Change-Id: Ie0b6b445e565c04bb0f093b905c06f8eb19beb6c Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | | Adjust webengine to the qtConfig() changes in qtbaseLars Knoll2016-08-231-1/+1
| | | | | | | | | | | | | | | Change-Id: I907f6ea73a1d707eda536764c4b0b2edea49a963 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | | Merge dev into 5.8Oswald Buddenhagen2016-08-221-1/+1
|\ \ \ | | | | | | | | | | | | Change-Id: I23aa7e41dfbbb7c4e4259a32868e64c58c0a1310
| * | | Merge remote-tracking branch 'origin/5.7' into devLiang Qi2016-08-161-1/+1
| |\| | | | | | | | | | | | | | Change-Id: Id5f97771be23a4393e8d3be98903c321377ae809