Closed Bug 1216222 Opened 10 years ago Closed 10 years ago

Create an end-to-end test that verifies the SMS report shows coherent information

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jlorenzo, Assigned: isabelrios)

Details

Attachments

(2 files)

Steps for this test: 1. Open SMS 2. Create a new message that you send to your self 3. Wait until the message is received 4. On both sent and received message, open the report and check that: * the type of message is the right one * the times and dates are coherent (±1 minute) * the sender/receiver is the right one. I just noticed we don't have a Moztrap test for it. Could you create one, Isabel?
We already have a similar test like that, no?
The send/receive SMS part already exist is some of our tests. I didn't find anything about the SMS report, though. What test are you thinking of?
Flags: needinfo?(martijn.martijn)
I was thinking of this test: http://mxr.mozilla.org/gaia/source/tests/python/gaia-ui-tests/gaiatest/tests/functional/messages/test_sms.py I guess it could be enhanced to include the things that are mentioned in comment 0, or is that not allowed?
Flags: needinfo?(martijn.martijn)
As test_sms.py is a part of the smoketests and checking the report is not. I think it's better to have 2 different tests, for now.
Attached file Pull request
Attachment #8680135 - Flags: review?(martijn.martijn)
Attachment #8680135 - Flags: review?(jlorenzo)
Comment on attachment 8680135 [details] [review] Pull request That pull request looks fine to me. One small thing I forgot to mention before, these files are not necessary: * tests/python/gaia-ui-tests/gaiatest/tests/functional/__init__.py * tests/python/gaia-ui-tests/gaiatest/tests/functional/messages/__init__.py There's more detail about them in the PR. Congratulations for your first test!
Attachment #8680135 - Flags: review?(jlorenzo) → review+
Comment on attachment 8680135 [details] [review] Pull request Some nits you could fix, but it all looks good in general. I think you need to remove these files from the pull request, though: tests/python/gaia-ui-tests/gaiatest/tests/functional/messages/__init__.py tests/python/gaia-ui-tests/gaiatest/tests/functional/__init__.py I also think class Report should be a PageRegion, but since we don't do in many more places, I don't think it matters much, currently. I filed bug 1216626 to do all these files at some point in time.
Attachment #8680135 - Flags: review?(martijn.martijn) → review+
Thank you Johan, Martijn! Agree, those files where created for defining the test one way that was not the correct one and so never used again. Will remove them.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
It was not merged yet, so re-opening
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
I just realized I did not created the test in Moztrap for this :( Added it now: https://moztrap.mozilla.org/manage/cases/?filter-id=17818 In which suite should it be? Not sure whether I should add some tags to it.
Flags: needinfo?(jlorenzo)
IMO, it should belong to the Message suite[1], the Delivery report one[2] and the small set of message[3]. The small set seems important to cover as we don't have no test checking this area, IIRC. [1] https://moztrap.mozilla.org/manage/cases/?filter-suite=210 [2] https://moztrap.mozilla.org/manage/cases/?filter-suite=497 [3] https://moztrap.mozilla.org/manage/cases/?filter-suite=687
Flags: needinfo?(jlorenzo)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: