qutebrowser/tests
toofar 26dcc4a7a9 Add a :window-only for some qt5 end2end tests
A couple of tests seem to be failing because there is two windows open and
they don't expect it. I haven't fixed the root cause, I looked through the
logs and couldn't see why a second window was open. But if this makes the
tests pass, I guess we can address that if someone reports it.

Also changed `_get_scroll_values()` to handle multiple tabs/windows being open
too while I was there.

Example logs: https://github.com/qutebrowser/qutebrowser/actions/runs/8548730512/job/23422922448
Sessions file from the test logs:

  Current session data:
  windows:
  - geometry: !!binary |
      AdnQywADAAAAAAAyAAAAMgAAA1EAAAKJAAAAMgAAADIAAANRAAACiQAAAAAAAAAAAyAAAAAyAAAA
      MgAAA1EAAAKJ
    tabs:
    - active: true
      history:
      - active: true
        last_visited: '2024-04-04T03:21:00'
        pinned: false
        scroll-pos:
          x: 0
          y: 0
        title: about:blank
        url: about:blank
        zoom: 1.0
  - active: true
    geometry: !!binary |
      AdnQywADAAAAAAAyAAAAMgAAA1EAAAKJAAAAMgAAADIAAANRAAACiQAAAAAAAAAAAyAAAAAyAAAA
      MgAAA1EAAAKJ
    tabs:
    - active: true
      history:
      - active: true
        last_visited: '2024-04-04T03:21:03'
        pinned: false
        scroll-pos:
          x: 0
          y: 40
        title: Scrolling
        url: http://localhost:39235/data/scroll/simple.html
        zoom: 1.0
2024-04-06 12:05:31 +13:00
..
end2end Add a :window-only for some qt5 end2end tests 2024-04-06 12:05:31 +13:00
helpers Generalize (testdata) substitution in end2end tests 2023-09-05 12:20:02 +02:00
manual Rename :buffer to :tab-select 2021-01-20 18:00:38 +01:00
unit Fix caret tests on Qt 6 and Windows 2024-03-27 19:49:09 +01:00
conftest.py tests: Upgrade our hook implementation for pytest 7 2024-01-10 14:41:39 +01:00
test_conftest.py reuse: Initial copyright text update for myself 2023-07-23 12:49:05 +02:00