Closed Bug 937050 Opened 8 years ago Closed 5 years ago
Hidden/directional characters in the string cause `select` wrapper method to fail
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
After the dependent bug 883555 is resolved, remove this extra select wrapper because the default one in base.py should work.
Depends on: 883555
Whiteboard: [gaia-ui-test][mentor=zac][lang=py] → [gaia-ui-test][lang=py]
QA Whiteboard: [fxosqa-auto-backlog+]
is this bug still active, I am under the impression firefox os is not an active project anymore.
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.