Closed
Bug 1195383
Opened 10 years ago
Closed 10 years ago
test_cost_control_data_alert_mobile.py: "NameError: global name 'mobileswitch' is not defined"
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: NicholasN, Assigned: martijn.martijn)
References
Details
Attachments
(1 file)
Description:
Cost control Settings page is opened, but the test cannot find the "Data use alert" button/toggle.
Repro Steps:
1. Update a flame to 20150817030215.
2. Open the Usage app.
3. Progress through first time experience of usage app.
4. Open Settings page in Usage app.
5. Activate Data use alert button/toggle.
Actual:
Data use alert cannot be turned on.
Expected:
Date use alert is turned on.
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.16-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/cost_control/test_cost_control_data_alert_mobile.py", line 37, in test_cost_control_data_alert_mobile
self.assertFalse(settings.is_data_alert_switch_checked)
File "/var/lib/jenkins/jobs/flame-kk.ui.adhoc.bitbar/workspace/tests/python/gaia-ui-tests/gaiatest/apps/cost_control/regions/settings.py", line 49, in is_data_alert_switch_checked
return self.is_custom_element_checked(mobileswitch)
NameError: global name 'mobileswitch' is not defined
Environmental Variables:
Device firmware (base) L1TC000118D0
Device firmware (date) 17 Aug 2015 10:24:11
Device firmware (incremental) eng.cltbld.20150817.062400
Device firmware (release) 4.4.2
Device identifier flame
Device memory 219772 kB
Device serial 94f7ce59
Device uptime 0 days 0 hours 2 minutes 16 seconds
Gaia date 14 Aug 2015 18:55:02
Gaia revision 47c91ffe7f50
Gecko build 20150817030215
Gecko revision 0876695d1abdeb363a780bda8b6cc84f20ba51c9
Gecko version 43.0a1
Reproducible manually: NO
Repro frequency: 5/5
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → martijn.martijn
![]() |
||
Comment 2•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8649338 -
Flags: review?(npark)
Attachment #8649338 -
Flags: review?(jlorenzo)
Comment 3•10 years ago
|
||
Comment on attachment 8649338 [details] [review]
[gaia] mwargers:1195383 > mozilla-b2g:master
Sorry for missed that one in the previous review.
Attachment #8649338 -
Flags: review?(jlorenzo) → review+
![]() |
||
Updated•10 years ago
|
Attachment #8649338 -
Flags: review?(npark) → review+
Assignee | ||
Comment 4•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•