Closed Bug 1217870 Opened 9 years ago Closed 9 years ago

test_homescreen_status_bar_icons_visibility.py doesn't run anymore

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: martijn.martijn)

References

Details

Attachments

(1 file)

This test was very specific to the old homescreen. I checked if the rocketbar was reduced when you scroll down the homescreen. I'm not sure if we should delete or update it. What do you guys think?
Flags: needinfo?(npark)
Flags: needinfo?(martijn.martijn)
Right, and currently the search bar does not get reduced. Although there are many new tests we can write about the new homescreen, I don't they they actually fall under the scope of this test. I suggest we remove this test.
Flags: needinfo?(npark)
Assignee: nobody → martijn.martijn
Flags: needinfo?(martijn.martijn)
Comment on attachment 8678468 [details] [review] [gaia] mwargers:1217870 > mozilla-b2g:master Sorry, I couldn't resist fixing the test, but I'm also fine with deleting the test.
Attachment #8678468 - Flags: review?(npark)
Attachment #8678468 - Flags: review?(jlorenzo)
Comment on attachment 8678468 [details] [review] [gaia] mwargers:1217870 > mozilla-b2g:master Ah, so you're taking the screenshots before/after and comparing them. I have two concerns: 1. the test must complete within a minute, (it's a low risk since the action is pretty quick) 2. if there is any kind of change in radio/wifi reception, this will affect the test result since it'll change the status icons. 3. If there is a notification happening, (i.e. marketplace then that'll also affect the test. We could add the scroll action into the test_drag_drop.py in imagecompare folder and it might accomplish the same thing.
Attachment #8678468 - Flags: review?(npark)
I've retried 10 times and they all passed. I'm pretty sure the tests completes within one minute. There should be no notifications happening with the test. I could put the device in flight mode, that should mitigate the change in radio/wifi icon problem.
Comment on attachment 8678468 [details] [review] [gaia] mwargers:1217870 > mozilla-b2g:master That's a good start. Thanks to you changes, I am convinced we should keep it. Like No-Jun said, the screenshot is likely not the best option. I proposed an alternative in the PR.
Attachment #8678468 - Flags: review?(jlorenzo)
Comment on attachment 8678468 [details] [review] [gaia] mwargers:1217870 > mozilla-b2g:master I think I addressed all the review comments from Johan here. The removal of status_bar.maximized/status_bar.minimized makes this a much larger pull request. I'm wondering why status_bar.maximized/status_bar.minimized actually can be removed. Was that changed?
Attachment #8678468 - Flags: review?(npark)
Attachment #8678468 - Flags: review?(jlorenzo)
Comment on attachment 8678468 [details] [review] [gaia] mwargers:1217870 > mozilla-b2g:master Since you addressed most of the concerns, the patch looks good and we should run this to see what happens in the long run.
Attachment #8678468 - Flags: review?(npark) → review+
Comment on attachment 8678468 [details] [review] [gaia] mwargers:1217870 > mozilla-b2g:master The test looks great! I wish we could have more tests that are 8-line-long like this one. Thanks!
Attachment #8678468 - Flags: review?(jlorenzo) → review+
Addressed the nits, squashed the commits and then merged: https://github.com/mozilla-b2g/gaia/commit/a26eadc5e1133d5112b6cbc10badbb7670a1090f
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Depends on: 1219279
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: