diff options
author | Florian Bruhin <me@the-compiler.org> | 2024-03-27 13:03:39 +0100 |
---|---|---|
committer | Florian Bruhin <me@the-compiler.org> | 2024-03-27 13:05:28 +0100 |
commit | 481542844db79ee58740e8324ecc1090e3738c35 (patch) | |
tree | 4fb92ad1d30b9acadb517faf30c90c39a8a7bd30 /qutebrowser/browser/webengine/webenginetab.py | |
parent | 982b8bdcecfba6fc1687a6a4942b9e3ab3221eb7 (diff) | |
download | qutebrowser-481542844db79ee58740e8324ecc1090e3738c35.tar.gz qutebrowser-481542844db79ee58740e8324ecc1090e3738c35.zip |
tests: Avoid using autofocus for click_element tests
Similarly to the last commit (982b8bdcecfba6fc1687a6a4942b9e3ab3221eb7),
we run into a race between autofocus triggering and the test trying to
click the focused element.
This also affects the "when there is none" test, which loses the focus
before it has been set, thus ending up with a focused element but expecting
none.
We fix both in one go by manually focusing things with a tab keypress
instead of using autofocus.
See #8145 and #5390.
Diffstat (limited to 'qutebrowser/browser/webengine/webenginetab.py')
0 files changed, 0 insertions, 0 deletions