summaryrefslogtreecommitdiff
path: root/tests/unit/misc/test_miscwidgets.py
AgeCommit message (Collapse)Author
2022-01-04Use flake8-pytest-stylepytest-styleFlorian Bruhin
2021-02-26Qtbot methods changed to snake case,snake case check addedLembrun
2021-01-26doc: Switch URLs to httpsFlorian Bruhin
2021-01-20Bump copyright yearsFlorian Bruhin
Closes #6015
2020-08-11Remove unused importsFlorian Bruhin
2020-08-11tests: Remove unneeded mock_clipboard fixtureFlorian Bruhin
Not needed anymore since 7f791dfcb84c57b5f8d121832b560f59d77422cb
2020-07-12Add a :devtools-focus commandFlorian Bruhin
2020-06-23tests: Set splitter handle width for InspectorSplitter testsFlorian Bruhin
How the handle width of 5 is distributed on macOS seems like totally random. Instead of trying to get our calculations to work, just force the handle width to an even number.
2020-06-23Fix handling of odd splitter size in InspectorSplitter testsFlorian Bruhin
Turns out 7a6e4821a1d5e1cd472e1be639c70858adec93d8 was the wrong way around!
2020-06-22tests: Move some fixtures to tests/helpers/fixtures.pyFlorian Bruhin
2020-06-22Use separate inspector section in state configFlorian Bruhin
2020-06-19tests: Improve InspectorSplitter sizing testsFlorian Bruhin
- Use a smaller size (600 instead of 1000) as base so that the test works with smaller screens (e.g. with macOS on Travis, the screen resolution is 1024x768, with 658px being available vertically). - Skip the test instead of failing when resizing doesn't work (e.g. when running under a tiling WM without Xvfb) - Fix handle calculation if the handle has an odd number of pixels (e.g. 5px on macOS).
2020-06-18miscwidgets: Add tests for InspectorSplitterFlorian Bruhin
The "minimal window size" one is still failing with top/right for some reason...
2020-01-04Adjust copyrights for 2020Florian Bruhin
2019-02-22Update copyright for 2019Jay Kamat
2018-10-30Simplify testFlorian Bruhin
2018-10-27Add tests for selection persistingJay Kamat
- Remove unneeded override of qt home method
2018-03-04Capitalize Escape in TestFullscreenNotificationFlorian Bruhin
2018-02-25Merge branch 'master' into keysFlorian Bruhin
2018-02-05Update copyright yearsFlorian Bruhin
2018-01-06Fix expectation in Fullscreen info message to fit new description ofFritz Reichwald
2017-12-15pylint: Re-enable bad-continuationFlorian Bruhin
And lots and lots of whitespace changes.
2017-07-04Various simple test updates for new configFlorian Bruhin
test_cache test_cookies test_webkitelem test_cmdutils test_runners test_completionwidget test_messageview test_editor test_miscwidgets test_sessions test_urlutils test_utils test_prompt statusbar/test_* test_cmdhistory test_tabwidget test_tab test_downloads test_networkmanager
2017-05-10Fix most tests/lintFlorian Bruhin
2017-05-09Finally update copyrights...Florian Bruhin
2017-02-06Add a fullscreen notification overlayFlorian Bruhin
From the spec: User agents should ensure, e.g. by means of an overlay, that the end user is aware something is displayed fullscreen. User agents should provide a means of exiting fullscreen that always works and advertise this to the user. This is to prevent a site from spoofing the end user by recreating the user agent or even operating system environment when fullscreen. https://fullscreen.spec.whatwg.org/#security-and-privacy-considerations
2016-08-22tests: Use pytest.fixture instead of yield_fixtureFlorian Bruhin
See #1877
2016-08-04Add miscwidgets.WrapperLayout.wrapFlorian Bruhin
This makes it easier for an user of WrapperLayout to wrap a widget.
2016-08-03Move WrapperLayout to miscwidgetsFlorian Bruhin
2016-02-10Remove now obsolete test.Florian Bruhin
2016-01-04Adjust copyright years.Florian Bruhin
2015-08-18Reorganize tests directory.Florian Bruhin