summaryrefslogtreecommitdiff
path: root/tests/end2end/test_insert_mode.py
AgeCommit message (Collapse)Author
2022-01-04Use flake8-pytest-stylepytest-styleFlorian Bruhin
2021-01-26doc: Switch URLs to httpsFlorian Bruhin
2021-01-20Bump copyright yearsFlorian Bruhin
Closes #6015
2021-01-20Rename :enter-mode and :leave-modeFlorian Bruhin
See #6022
2021-01-20Rename :follow-hint to :hint-followFlorian Bruhin
See #6022
2020-08-03tests: Mark another autofocus test as flakyFlorian Bruhin
2020-07-30Mark autofocus test as flakyFlorian Bruhin
Most likely due to #5605
2020-07-20Revert "Avoid leaving insert mode when page finished loading"Florian Bruhin
Causes problems because the insert mode leaving is asynchronous now, so due to the additional element check it actually happens later and can leave insert mode even after a different page is already focused. This reverts commit d54b9bc6383de8df6182957734917746c9123492. This reverts commit a34d392fe11dae105cbf3bce3f7b97ec43d53b1b. This reverts commit 9bcf0b2369b240b290080dc9dd59f2c2fe2ec603. This reverts commit 4ea97581506a57b77571042b173b774da72bfc97.
2020-07-20Fix lintFlorian Bruhin
2020-07-20tests: Update logged messagesFlorian Bruhin
2020-07-20Avoid leaving insert mode when page finished loadingFlorian Bruhin
2020-01-04Adjust copyrights for 2020Florian Bruhin
2019-02-23Merge remote-tracking branch 'origin/pr/4339'Florian Bruhin
2019-02-22Update copyright for 2019Jay Kamat
2019-02-01Fix style issuesJay Kamat
2018-10-14Add setting to avoid leaving insert mode on load_startedJay Kamat
It looks like load_started can be emitted for a lot of things, such as an anchor change, and some people may not want to leave insert mode on reload anyway.
2018-02-05Update copyright yearsFlorian Bruhin
2017-10-02Improve input.insert_mode.auto_load testsFlorian Bruhin
This also adds a test for #2858 (also see #2879)
2017-07-04Rename input.insert_mode.auto_focused to _loadFlorian Bruhin
2017-07-04Adjust test settingsFlorian Bruhin
2017-05-09Finally update copyrights...Florian Bruhin
2017-03-01Move cursor to end with input elements on QtWebEngineFlorian Bruhin
2017-02-05Fix lintFlorian Bruhin
2017-02-05Simplify test_insert_modeFlorian Bruhin
We already check whether insert mode was entered by listening for "contents: *", and the copying part is unstable with QtWebEngine.
2017-02-04Fix zoom handling with QtWebKitFlorian Bruhin
2017-02-04QtWebEngine: Fix insert mode checks with zoomFlorian Bruhin
Fixes #2169
2017-02-04Fix test_insert_mode with QtWebEngineFlorian Bruhin
We can't pretend to enter caret mode now
2017-02-03Do more sophisticated clicking for hints with QtWebEngineFlorian Bruhin
We now use click() or focus() in JS if possible, or manually follow links in a href attribute. While this probably introduces some new corner cases, it fixes a handful of older ones: - window.open() in JS can now be handled correctly as we don't need hacks in createWindow anymore. - Focusing input fields with images now works - fixes #1613, #1879 - Hinting now works better on QtWebEngine with Qt 5.8 - fixes #2273 Also see #70.
2016-10-06Try to stabilize test_insert_modeFlorian Bruhin
2016-09-26Simplify mode-checking in command.Ryan Roden-Corrent
Rather than maintaining separate _modes and _not_modes lists, just build a single _modes list in the constructor.
2016-09-07Add missing :leave-mode for insert-mode testFlorian Bruhin
Otherwise we hint while still in insert mode - while this seems to work fine, let's do things the cleaner way.
2016-09-07Implement :insert-text for QtWebEngineFlorian Bruhin
2016-09-05tests: Add QUTE_BDD_WEBENGINE environment variableFlorian Bruhin
2016-08-23pylint: Use ignored-modules for pytestFlorian Bruhin
See https://github.com/PyCQA/astroid/pull/357
2016-08-18Skip :insert-text in test_insert_mode in webengineFlorian Bruhin
2016-08-18BDD: Wait until hints are ready after hintingFlorian Bruhin
With QtWebEngine, hinting happens async, so we need to wait for "hints: ..." in the log before we can actually follow a hint.
2016-08-18BDD: Use :click-element instead of hintsFlorian Bruhin
2016-08-11Make test_insert_mode Windows-compatibleJan Verbeek
2016-08-10Deprecate :paste-primary to :insert-text {primary}Jan Verbeek
2016-08-05Merge :yank-selected into :yank (fixes #820)Marshall Lochbaum
Changes :yank's flag arguments to a positional "what" argument specifying the object to be yanked. Including "selection" as a possibility allows for the replacement of :yank-selected with :yank selection.
2016-05-30Stabilize tests using :follow-hintFlorian Bruhin
2016-05-29Clean up end2end test file structureFlorian Bruhin
This renames tests/integration to tests/end2end and moves some files to tests/end2end/fixtures.