Closed Bug 1172587 Opened 9 years ago Closed 9 years ago

test_homescreen_divider.py: " AssertionError: 4 != 3 "

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: onelson, Unassigned)

Details

Description:
test_homescreen_divider is failing nearing the end of it's test for miscounting the number of dividers that are available to it when in edit mode. Observing the screenshot however, appears that the phone did not make an attempt to move an app from the first 'divider' of apps to the last.

* http://jenkins1.qa.scl3.mozilla.com/view/UI/job/flame-kk-319.mozilla-central.nightly.ui.functional.non-smoke.2.bitbar/90/
* http://jenkins1.qa.scl3.mozilla.com/job/flame-kk.ui.adhoc.bitbar/76/

Repro Steps:
1) Update phone to 20150608010204
2) Count the number of dividers available
2) Hold tap on the last app in the last divider: 'ASDASDASD'
3) Drag it down to the last divider to create a new divider
5) Count the number of dividers

Expected:
Additional Divider will have been created

Actual:
No app was moved


Traceback (most recent call last):
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/.env/lib/python2.7/site-packages/marionette_client-0.13-py2.7.egg/marionette/marionette_test.py", line 296, in run
testMethod()
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/tests/functional/homescreen/test_homescreen_divider.py", line 34, in test_create_delete_divider
self.assertEqual(initial_number_of_dividers + 1, len(self.homescreen.divider_elements))
AssertionError: 4 != 3



Device firmware (base) 	L1TC100118D0
Device firmware (date) 	08 Jun 2015 08:35:05
Device firmware (incremental) 	eng.cltbld.20150608.043454
Device firmware (release) 	4.4.2
Device identifier 	flame
Device memory 	219772 kB
Device serial 	f048409a
Device uptime 	0 days 0 hours 2 minutes 18 seconds
Gaia date 	05 Jun 2015 17:55:07
Gaia revision 	1d62b3240856
Gecko build 	20150608010204
Gecko revision 	7d4ab4a9febd
Gecko version 	41.0a1

Reproducible manually: NO

Repro frequency: 2/5 passing

Notes:
Observing this test perform, the test seems unable able to push the app 'off-screen' in order to pass into a new divider (on it's failures), the app then returns to it's former divider and test counts again to see no state has changed.
I just tested this 11 times with the Flame device on 319MB and they all passed, so marking wfm. Please reopen if you can still see this.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.