Skip to content

Florence sometimes hides other windows, which breaks tests

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

  • 00_42_15_I_cannot_view_a_PDF_file_stored_in_non-persistent__home_amnesia_.gnupg
  • 00_31_57_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.
  • 00_41_43_Symmetric_encryption_and_decryption_using_OpenPGP_Applet

Parent Task: #10288

Related issues

Original created by @bertagaz on 11398 (Redmine)

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