Commit Graph

1020 Commits

Author SHA1 Message Date
Florian Bruhin
7a3c0d328f Mark two more tests as flaky 2019-02-25 13:10:58 +01:00
Jay Kamat
3e816f5f8b
Update copyright for 2019 2019-02-22 21:45:08 -08:00
Florian Bruhin
17846ea386 Skip flaky test 2019-02-17 22:39:58 +01:00
Florian Bruhin
a2c7908414 Remove unused import 2019-02-17 18:53:47 +01:00
Florian Bruhin
64f7692d74 Update qute://settings CSRF tests for Qt 5.12
See #4478
2019-02-17 17:15:03 +01:00
Florian Bruhin
39cc352253 Refactor qute://settings CSRF tests 2019-02-17 17:15:01 +01:00
Florian Bruhin
823a0de884 Check for updated docs in all affected tests
Fixes #4576
2019-02-16 01:43:20 +01:00
Jay Kamat
a343f9df28
Fix issues with tests 2019-02-01 23:03:44 -08:00
Jay Kamat
1c7178c92c
Merge branch 'master' of https://github.com/qutebrowser/qutebrowser into donottrack 2019-02-01 23:02:32 -08:00
Jay Kamat
fdb4dd728f
Merge pull request #4508 from beelzebielsk/master
Implement pinned.tab.frozen setting (issue #4400)
2019-01-09 23:49:16 -08:00
adam
5cd988ae52 Change config option to in tabs.pinned group
Changes to be committed:
      modified:   qutebrowser/browser/browsertab.py
      modified:   qutebrowser/config/configdata.yml
      modified:   tests/end2end/features/tabs.feature
        Changed pinned.tabs.frozen to be tabs.pinned.frozen in all of
        these files.
2019-01-06 20:53:26 -05:00
adam
24a1104dc7 Implement pinned.tab.frozen setting (issue #4400)
Implement a new setting, `pinned.tab.frozen` (boolean), which when false
allows a user to navigate to new URLs in a pinned tab (default behavior
is to have `pinned.tab.frozen = true`, in which no navigation is allowed).

issue URL: https://github.com/qutebrowser/qutebrowser/issues/4400

Changes to be committed:
      modified:   qutebrowser/browser/browsertab.py
        Add `navigation_blocked` method to AbstractTab, which returns
        true if navigation is allowed on a tab.
      modified:   qutebrowser/browser/commands.py
        Change `openurl` to use `navigation_blocked` method of a tab to
        determine behavior while navigating a pinned tab.
      modified:   qutebrowser/components/misccommands.py
        Change `home` to use `navigation_blocked` method of a tab to
        determine behavior while navigating a pinned tab.
      modified:   qutebrowser/config/configdata.yml
        Add `pinned.tab.frozen` config.
      modified:   tests/end2end/features/tabs.feature
        Add tests for :open and :home on pinned tabs with
        `pinned.tab.frozen` set to false
2019-01-04 18:03:33 -05:00
Florian Bruhin
3528de82e9 Also skip SSL test on Qt 5.12
See #4240
2019-01-04 10:30:06 +01:00
Florian Bruhin
0953596ed6 Skip remaining tests which are broken on Qt 5.12
See #4320, #4244
2018-12-11 18:36:52 +01:00
Maurits van Altvorst
e203f18411 Remove redundant line 2018-12-09 14:43:54 +01:00
Maurits van Altvorst
c93bb0c1be Remove Do-Not-Track header, use DNT header instead 2018-12-09 14:42:34 +01:00
Maurits van Altvorst
f5b5aa70ed Edit tests 2018-12-09 11:15:29 +01:00
Florian Bruhin
fe75ee1469 Mark "Using JS after window.open" as flaky 2018-12-05 18:28:43 +01:00
Florian Bruhin
9c4ebb97d7 Fix refactoring issues 2018-11-30 11:19:34 +01:00
Thorsten Wißmann
9d069ea12b Encode slashes in default search engine test 2018-11-29 08:29:56 +01:00
Jay Kamat
4e1d63ee5f
Add tests for query increment 2018-11-03 11:01:50 -07:00
Florian Bruhin
08278138c4 Add :yank markdown 2018-11-03 07:54:37 +01:00
Florian Bruhin
9019bf790b Skip "navigating with invalid selector" on QtWebKit 2018-10-26 10:01:01 +02:00
Florian Bruhin
b7c1d04c88 Load navigate page properly 2018-10-16 11:09:27 +02:00
Florian Bruhin
f36285658e Don't allow to set hints.selectors in autoconfig.yml
Also, set all settings temporarily for end2end tests.
This allows us to set things which aren't settable in autoconfig.yml.
2018-10-08 19:40:33 +02:00
Florian Bruhin
0423ec6f91 Add webelem.css_selector 2018-10-08 19:40:33 +02:00
Florian Bruhin
121483aa90 Add error handling for invalid selectors 2018-10-08 19:07:53 +02:00
Florian Bruhin
6d4c8f5b13 Merge remote-tracking branch 'origin/pr/3806' into test 2018-10-08 18:09:58 +02:00
Florian Bruhin
b130162d56 Fix crash when closing tab during a search 2018-10-07 15:46:40 +02:00
Florian Bruhin
8185139416 Simplify :jseval tests
The @qt<5.11.2 mark in Qt also checks for the PyQt version, which causes this
tests to fail with a new Qt but old PyQt.
2018-10-06 12:21:19 +02:00
Florian Bruhin
c225e724ac Merge remote-tracking branch 'origin/pr/4133' 2018-10-05 22:56:53 +02:00
Florian Bruhin
fddb10e157 Merge remote-tracking branch 'origin/pr/4008' 2018-10-05 17:15:42 +02:00
Florian Bruhin
2eeaef83ba Add tests for :zoom-* with --quiet 2018-10-05 16:25:26 +02:00
Florian Bruhin
fb491c1578 Add test for :yank --quiet 2018-10-05 16:23:31 +02:00
Florian Bruhin
b5b4fda676 Fix issues with PDF.js path changes 2018-10-05 14:05:54 +02:00
Florian Bruhin
1cedfc5470 Add test 2018-10-02 13:38:28 +02:00
Florian Bruhin
96f28c6f72 Show errors on invalid --mode argument for :hint 2018-09-30 11:45:59 +02:00
Florian Bruhin
a292664ca0 Merge remote-tracking branch 'origin/pr/4218' 2018-09-26 11:20:45 +02:00
Florian Bruhin
d5826b8458 Skip visible/invisible test on Windows
See #4230
2018-09-26 08:34:31 +02:00
Florian Bruhin
9ab3188b43 Disable SSL download test on Qt 5.11.2
See #4240

Remains to be seen if it looks better on Qt 5.12, but it seems like it?
2018-09-24 18:15:06 +02:00
Florian Bruhin
04e7b89978 Add delay after zooming
It looks like zooming happens asynchronously, so we need to make sure we scroll
after zoomed in.

See #4025
2018-09-24 16:39:18 +02:00
Florian Bruhin
1e32d1e01f Fix PDFJS/qutescheme end2end tests 2018-09-23 17:40:10 +02:00
Jesko
abea603119 moving MAX_WORLD_ID to qtutils, changing test names, fixing linter errors, changing error type to WebTabError 2018-09-09 20:45:21 +12:00
Jesko
8ef3d90b1a removing unwanted space 2018-09-09 20:45:21 +12:00
Jesko
ee9b1f4950 adding tests and improving error messages 2018-09-09 20:45:21 +12:00
Florian Bruhin
20da259de6 Rewrite some :follow-selected tests as unit tests 2018-09-08 16:01:38 +02:00
Florian Bruhin
64e321d47c Rewrite most caret tests as unit tests 2018-09-08 12:15:32 +02:00
Florian Bruhin
6293bc5178 Fix lint and test 2018-09-04 23:46:34 +02:00
Florian Bruhin
d337ed885a Re-add :stop test in misc.feature
For some reason I don't comprehend right now, disabling it breaks
test_focusing_download_widget_via_tab. I'm having exams tomorrow and the day
after that, so meh, let's just re-enable that test for now as a stopgap
solution.
2018-08-28 22:56:50 +02:00
Florian Bruhin
3fa01ae84d Handle more flaky tests 2018-08-28 09:21:03 +02:00