Closed Bug 1161446 Opened 9 years ago Closed 9 years ago

[SmartCollections] Device keeps loading when it retries smart collection list

Categories

(Firefox OS Graveyard :: Gaia::Homescreen, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.1 affected, b2g-master affected)

RESOLVED DUPLICATE of bug 1161421
Tracking Status
b2g-v2.1 --- affected
b2g-master --- affected

People

(Reporter: whsu, Unassigned)

Details

* Description:
  This should be a legacy issue. It causes a failed Gaia UI test.
  When device retries smart collection list on a unstable network, the device keep loading.
  Could we improve this because it results in a bad user experience and causes a failed Gaia UI test?
  
  Demo video: https://www.youtube.com/watch?v=3gqR51Grg58

* Reproduction steps:
  1. Connect to a slow/unstable network
  2. Long tap homescreen
  3. After alternative menu pops up, tap "Add Smart Collections"
  4. Tap "Around Me" item, and then tap "OK" button

* Expected result:
  "Around Me" can be added to homescreen

* Actual result:
  Device keeps loading

* Reproduction build:
  @ Flame v3.0 (master)
    Gaia-Rev        70077825aab2c7a79611befb40a5fe7e610d5443
    Gecko-Rev       https://hg.mozilla.org/mozilla-central/rev/102d0e9aa9e1
    Build-ID        20150504160201
    Version         40.0a1
    Device-Name     flame
    FW-Release      4.4.2
    FW-Incremental  eng.cltbld.20150504.193019
    FW-Date         Mon May  4 19:30:30 EDT 2015
    Bootloader      L1TC000118D0

  @ Flame v2.1
    Gaia-Rev        b4a03b7ee61de5a479b3cf0916f47e91a43b0f50
    Gecko-Rev       https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/03bfe12e50d0
    Build-ID        20150504001200
    Version         34.0
    Device-Name     flame
    FW-Release      4.4.2
    FW-Incremental  eng.cltbld.20150504.040914
    FW-Date         Mon May  4 04:09:25 EDT 2015
    Bootloader      L1TC100118D0
@ Failed GU test. FYI.

Error: test_everythingme_add_collection_save_bookmark.TestEverythingMeAddCollectionSaveBookmark 	

Traceback (most recent call last):
File "/var/lib/jenkins/JenkinsCI/B2G_Flame_2dot1_Kitkat/B2G_Gaia_2dot1/tests/python/gaia-ui-tests/.env/local/lib/python2.7/site-packages/marionette_client_mozilla_b2g34_v2_1-0.2-py2.7.egg/marionette/marionette_test.py", line 174, in run
testMethod()
File "/var/lib/jenkins/JenkinsCI/B2G_Flame_2dot1_Kitkat/B2G_Gaia_2dot1/tests/python/gaia-ui-tests/gaiatest/tests/functional/everythingme/test_everythingme_add_collection_save_bookmark.py", line 28, in test_everythingme_add_collection
self.wait_for_condition(lambda m: self.apps.displayed_app.name == homescreen.name)
File "/var/lib/jenkins/JenkinsCI/B2G_Flame_2dot1_Kitkat/B2G_Gaia_2dot1/tests/python/gaia-ui-tests/gaiatest/gaia_test.py", line 937, in wait_for_condition
Wait(self.marionette, timeout).until(method, message=message)
File "/var/lib/jenkins/JenkinsCI/B2G_Flame_2dot1_Kitkat/B2G_Gaia_2dot1/tests/python/gaia-ui-tests/.env/local/lib/python2.7/site-packages/marionette_client_mozilla_b2g34_v2_1-0.2-py2.7.egg/marionette/wait.py", line 143, in until
cause=last_exc)
TimeoutException: TimeoutException: Timed out after 30.1 seconds
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.