Florence sometimes hides other windows, which breaks tests

Originally created by @bertagaz on #11398 (Redmine)

Two scenarios are failing from time to time because the Florence keyboard is on top of the window where the test suite expects to see results:

cucumber features/root_access_control.feature:25 # Scenario: If no administrative password is set in Tails Greeter the live user \
  should not be able to get administrative privileges through PolicyKit with the standard passwords.
cucumber features/evince.feature:24 # Scenario: I cannot view a PDF file stored in non-persistent /home/amnesia/.gnupg

In this case, another scenario is also failing:

cucumber features/encryption.feature:32 # Scenario: Symmetric encryption and decryption using OpenPGP Applet

This scenarios are using snapshots, so it might be that this one is taken a bit too soon, and the Florence keyboard hasn’t really finished to initialize and is still opened on the desktop.

It happened recently in Jenkins runs test_Tails_ISO_feature-11123-new-mirror-pool #2, test_Tails_ISO_stable #196 and test_Tails_ISO_stable #243

See attached screenshots.

Feature Branch: test/11398-florence-hides-other-windows

Attachments

Parent Task: #10288 (closed)

Related issues

Edited by bertagaz
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information