Closed
Bug 937050
Opened 11 years ago
Closed 8 years ago
Hidden/directional characters in the string cause `select` wrapper method to fail.
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect, P4)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: zcampbell, Unassigned, Mentored)
References
Details
(Whiteboard: [gaia-ui-test][lang=py])
In the Settings app when changing the language of Firefox OS contains hidden directional strings that make strings appear ltr/rtl depending on the language listed. They make make string matching fail because they don't match the expected string. You can check the presence of the directional strings by using "find_element" using Marionette and then checking the length of the .text attribute of the text. It's not clear whether Marionette should strip out the characters when returning the `.text` or even how we can do it at the Python level. We have to use a different `select` wrapper to get around this. https://github.com/mozilla-b2g/gaia/blob/master/tests/python/gaia-ui-tests/gaiatest/tests/functional/settings/test_settings_change_language.py#L17
Updated•11 years ago
|
Whiteboard: [gaia-ui-test][mentor=zac][lang=py]
Reporter | ||
Comment 1•10 years ago
|
||
After the dependent bug 883555 is resolved, remove this extra select wrapper because the default one in base.py should work.
Depends on: 883555
Assignee | ||
Updated•10 years ago
|
Mentor: zcampbell
Whiteboard: [gaia-ui-test][mentor=zac][lang=py] → [gaia-ui-test][lang=py]
QA Whiteboard: [fxosqa-auto-backlog+]
Comment 2•8 years ago
|
||
is this bug still active, I am under the impression firefox os is not an active project anymore.
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•