diff options
author | Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | 2016-05-20 13:01:20 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2016-05-28 09:41:00 +0000 |
commit | 8b0d048b02c1f1cb24fdb83f11791507df246e05 (patch) | |
tree | bf48736ac173e98adfe565701c6a017917f30668 /tests/auto/quick/qmltests | |
parent | c9b2eac2912bd8f533fd190952a72cc9478e48b1 (diff) |
Remove obsolete tests
document.defaultCharset has been removed in Chromium 50.
See https://www.chromestatus.com/feature/6217124578066432
And form validation no longer reports title
See https://codereview.chromium.org/1671613003
Change-Id: I3b461f897c1ec5ca3b72e141f2119a8f87c3081b
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'tests/auto/quick/qmltests')
-rw-r--r-- | tests/auto/quick/qmltests/data/forms.html | 8 | ||||
-rw-r--r-- | tests/auto/quick/qmltests/data/tst_formValidation.qml | 18 |
2 files changed, 0 insertions, 26 deletions
diff --git a/tests/auto/quick/qmltests/data/forms.html b/tests/auto/quick/qmltests/data/forms.html index 8dc3472f2..d137c98f0 100644 --- a/tests/auto/quick/qmltests/data/forms.html +++ b/tests/auto/quick/qmltests/data/forms.html @@ -19,10 +19,6 @@ <input type="url" value="invalid" required/> <input type="submit" name="url_invalid"/> </form> - <form> - <input type="url" value="invalid" title="url_title" required/> - <input type="submit" name="url_title"/> - </form> <form> <input type="email" required/> @@ -32,9 +28,5 @@ <input type="email" value="invalid" required/> <input type="submit" name="email_invalid"/> </form> - <form> - <input type="email" value="invalid" title="email_title" required/> - <input type="submit" name="email_title"/> - </form> </body> </html> diff --git a/tests/auto/quick/qmltests/data/tst_formValidation.qml b/tests/auto/quick/qmltests/data/tst_formValidation.qml index 6da8af7ff..f8d6c4e15 100644 --- a/tests/auto/quick/qmltests/data/tst_formValidation.qml +++ b/tests/auto/quick/qmltests/data/tst_formValidation.qml @@ -71,15 +71,6 @@ TestWebEngineView { keyPress(Qt.Key_Enter) showSpy.wait() compare(showSpy.signalArguments[1][0], "Please enter a URL.") - - webEngineView.url = Qt.resolvedUrl("about:blank") - verify(webEngineView.waitForLoadSucceeded()) - - webEngineView.url = Qt.resolvedUrl("forms.html#url_title") - verify(webEngineView.waitForLoadSucceeded()) - keyPress(Qt.Key_Enter) - showSpy.wait() - compare(showSpy.signalArguments[2][1], "url_title") } function test_emailForm() { @@ -97,15 +88,6 @@ TestWebEngineView { keyPress(Qt.Key_Enter) showSpy.wait() compare(showSpy.signalArguments[1][0], "Please include an '@' in the email address. 'invalid' is missing an '@'.") - - webEngineView.url = Qt.resolvedUrl("about:blank") - verify(webEngineView.waitForLoadSucceeded()) - - webEngineView.url = Qt.resolvedUrl("forms.html#email_title") - verify(webEngineView.waitForLoadSucceeded()) - keyPress(Qt.Key_Enter) - showSpy.wait() - compare(showSpy.signalArguments[2][1], "email_title") } } } |