Bug #10288: Fix newly identified issues to make our test suite more robust and faster
"Symmetric encryption and decryption using OpenPGP Applet" is fragile
This one is quite often making the test suite runs in Jenkins fail. Most of the time, it prints out the error:
[log] TYPE "asdf " [log] CLICK on (208,71) [log] RIGHT CLICK on (568,376) [log] RIGHT CLICK on (566,376) [log] RIGHT CLICK on (566,376) [log] RIGHT CLICK on (566,376) [log] RIGHT CLICK on (566,376) And I symmetrically encrypt the message with password "asdf" # features/step_definitions/encryption.rb:126 try_for() timeout expired Last ignored exception was: FindFailed: can not find GeditPaste.png on the screen. (Timeout::Error) ./features/support/helpers/misc_helpers.rb:83:in `rescue in try_for' ./features/support/helpers/misc_helpers.rb:33:in `try_for' ./features/step_definitions/common_steps.rb:30:in `context_menu_helper' ./features/step_definitions/encryption.rb:65:in `paste_into_a_new_tab' ./features/step_definitions/encryption.rb:132:in `/^I symmetrically encrypt the message with password "([^"]+)"$/' features/encryption.feature:34:in `And I symmetrically encrypt the message with password "asdf"'
Attached is a screenshot that is looking like the ones that are taken when this issue arise.
#4 Updated by intrigeri about 3 years ago
Sadly these test jobs have expired, and without a video + debug log there's little one can do with this bug report. So I'm going to unflag the test as fragile, and once it happens again we can come back to this ticket.
I'm stupid. Just updating the topic branch should be enough to reproduce the bug and gather additional info... if the bug happens often enough :)
#5 Updated by intrigeri about 3 years ago
- File 01_02_05_Symmetric_encryption_and_decryption_using_OpenPGP_Applet.mkv added
- File debug.log View added
Interestingly, until June 13 the bug happened quite often on Jenkins when testing the topic branch, but since then it has not happened a single time. I'm attaching a video + debug log that show what's happening (focus issue with pinentry).