Closed Bug 1078247 Opened 5 years ago Closed 5 years ago

[v2.2] Fix keyboard object app after updates from Bug 996332


(Firefox OS Graveyard :: Gaia::UI Tests, defect)

Gonk (Firefox OS)
Not set


(Not tracked)



(Reporter: RobertC, Assigned: RobertC)



(1 file)

Test started failing because the keyboard app behavior was updated in the following commit:

After tapping on the "@" character the keyboard switches back to the alpha display.
The keyboard page object need to be updated.
It looks like there is a race condition between the automated layout switching (which occurs when tapping @) and the following code:

When the test fails, the code mentioned above returns the layout status as the one from before the automated switch. I added a time.sleep(1) before that and the test passes 5 out of 5.
I will try to find a proper wait() for this issue.
Attachment #8500928 - Flags: review?(viorela.ioia)
Attachment #8500928 - Flags: review?(florin.strugariu)
Comment on attachment 8500928 [details] [review]
Link to Github pull-request:

Attachment #8500928 - Flags: review?(viorela.ioia) → review+
Comment on attachment 8500928 [details] [review]
Link to Github pull-request:

If we add the comment explaining why did we add that wait
Attachment #8500928 - Flags: review?(florin.strugariu) → review+
QA Whiteboard: [fxosqa-auto-s1]
You need to log in before you can comment on or make changes to this bug.