Project

General

Profile

action #14838

Updated by SLindoMansilla about 7 years ago

## Observation 

 openQA test in scenario sle-12-SP2-Desktop-DVD-Updates-x86_64-qam-regression-gnome@64bit fails in 
 [change_password](https://openqa.suse.de/tests/635982/modules/change_password/steps/14) 


 ## Reproducible 

 Fails at least out out of 10 times. 


 ## Problem 

 **H1** The textbox for the new password is not focused - _REJECTED by **E1-1**_ 
 **H2** The sentence `type_string $newpwd;` is sometimes not sending the keys properly 
 **H2.1** The function `type_string` is the problem 
 **H2.2** The speed of typing by function `type_string` is the problem 
 **H3** The textbox for new password is sometimes not receiving keyboard input properly. 
 **H4** The SUT does not behave always at the same speed. For this reason the test fails sporadically at different states: needles match but the windows is not ready to accept clicks or type inputs. 


 ## Suggestion 

 **E1-1** Inspect the video result of https://openqa.suse.de/tests/811321/file/video.ogv to see if the textbox for the new password is focused. 
 **R1-1** The textbox is focused at time 1:14 



 **E2.2-1** Use function `type_string_slow` to type the new password 



 **E2.2-2** Use function `type_string_very_slow` to type the new password 



 **E4-1** Execute the same module at least 10 consecutive times inside the test suite to observe different test failures and error reproducibility. 
 **R4-1** 
 Because of needle timeout, the 10 executions are not executed; the job dies and become "incomplete". 
 See here [openQA:copland#84](http://copland.arch.suse.de/tests/84) and here [openQA:copland#87](http://copland.arch.suse.de/tests/87) 
 The earlier possible test failure observed happens because the sentence os-autoinst-distri-opensuse/lib/x11regressiontest.pm:502 
 `assert_and_click "settings";` not always make the click when the menu item is ready to be clicked. 
 Follow with **E4-2**, **E4-3**, **E4-4**. 



 **E4-2** Try to make the needles with tag "settings" match only when the menu item is ready to be clicked, by selecting more areas. 
 **R4-2** 
 * [MR:os-autoinst-needles-sles#327](https://gitlab.suse.de/openqa/os-autoinst-needles-sles/merge_requests/327) -> [openQA:copland#91](http://copland.arch.suse.de/tests/91#step/change_password/2) 
 * [MR:os-autoinst-needles-sles#331](https://gitlab.suse.de/openqa/os-autoinst-needles-sles/merge_requests/331), MR not yet available, [PR:os-autoinst-distri-opensuse#2557](https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/2557) -> [openQA:copland#98:needle_1](http://copland.arch.suse.de/tests/98#step/change_password/2), [openQA:copland#98:needle_2](http://copland.arch.suse.de/tests/98#step/change_password/3) 



 **E4-3** Try to make the needles with tag "gnome-settings" match only when the menu item is ready to be clicked, by selecting more areas. 



 **E4-4** Try to make the needles with tag "settings-users-selected" match only when the menu item is ready to be clicked, by selecting more areas. 

Back