Closed Bug 1219840 Opened 9 years ago Closed 8 years ago

Remove checks for elements containing certain raw text and replace them with an is_displayed() check

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: martijn.martijn, Unassigned)

References

Details

Attachments

(1 file)

This came up in bug 1218895, comment 7.
"
The patch looks good to me. Following up on what we proposed during the meeting:
* we check the raw text in order to verify the input from the user (for instance a phone number put in the dialer, we verify it appears in the call log)
* we test the l10n-id for any string that comes from Gaia only (like an error message)
"

We should do this for example with this test:
http://mxr.mozilla.org/gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/functional/ftu/test_ftu_with_tour.py
This test has a lot of en-US strings, so naturally only works in en-US locale
Assignee: nobody → martijn.martijn
Blocks: 1237399
Blocks: 1231979
Blocks: 1231985
Blocks: 1231988
Martijn, I thought we were killing the Gip tests?
Flags: needinfo?(martijn.martijn)
Attachment #8707013 - Flags: review?(npark)
Attachment #8707013 - Flags: review?(jlorenzo)
Yes, that's the plan, wherever that's possible.
Flags: needinfo?(martijn.martijn)
Comment on attachment 8707013 [details] [review]
[gaia] mwargers:1219840 > mozilla-b2g:master

Nice changes! I don't see anything blocking in this PR.
Attachment #8707013 - Flags: review?(jlorenzo) → review+
Attachment #8707013 - Flags: review?(npark) → review+
Comment on attachment 8707013 [details] [review]
[gaia] mwargers:1219840 > mozilla-b2g:master

Merged this: https://github.com/mozilla-b2g/gaia/commit/76517c1ea7acee620994f0af83feda4c1f185044

I'll leave this bug open, because this is basically about all of the tests and this pull request only handled a couple of tests.
I'll close the dependent bugs, though.
Assignee: martijn.martijn → nobody
Marking WONTFIX, sorry for the bug spam. If somebody still wants to work on this, please file a new bug for it.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: