1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 07:13:09 +00:00
os-autoinst-distri-fedora/lib
Adam Williamson 03af57e0da start firefox at 1024x768 resolution
when we run firefox in a bare X session, by default we get an
800x600 firefox in a 1024x768 X server with some dead black
space to the right and bottom of the screen. Now it turns out
that if the mouse is in the dead space, Firefox will not get
any keystrokes we send.

This didn't used to be a problem, but I made it into one with
this os-autoinst change:

https://github.com/os-autoinst/os-autoinst/pull/559

that makes os-autoinst move the cursor to 1023,767 after each
`assert_and_click`, instead of 0x0 as it did before, unless the
cursor has previously been explicitly place somewhere. So in
this case it gets moved to the dead space, and Firefox stops
responding to keypresses after the first `assert_and_click`.

We could equally well fix this by setting the cursor to 0,0
after running Firefox, but I like this more as it makes sure
we won't run into the same problem some other way, and makes
the videos and screenshots look nicer.

This fixes the realmd_join_cockpit test that's been failing
ever since I installed an os-autoinst with that fix. Committing
without review as it's a straightforward fix and I want the
test working again...
2016-09-08 09:15:43 -07:00
..
anacondatest.pm add anaconda text UI test 2016-09-07 10:34:54 +02:00
fedorabase.pm add QA:Testcase_FreeIPA_password_change test 2016-08-03 13:21:12 -07:00
fedoradistribution.pm fix some warnings that are shown during test loading 2016-02-10 09:42:56 +01:00
freeipa.pm add QA:Testcase_FreeIPA_password_change test 2016-08-03 13:21:12 -07:00
installedtest.pm start firefox at 1024x768 resolution 2016-09-08 09:15:43 -07:00
main_common.pm add anaconda text UI test 2016-09-07 10:34:54 +02:00