Closed Bug 1040063 Opened 10 years ago Closed 10 years ago

[v2.1][v2.0] Intermittent test_settings_do_not_track.py failure

Categories

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

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: AndreiH, Assigned: AndreiH)

Details

Attachments

(2 files, 2 obsolete files)

http://jenkins1.qa.scl3.mozilla.com/job/flame.mozilla-aurora.ui.functional.non-smoke/5/HTML_Report/


Traceback (most recent call last):
  File "/home/andreihutusoru/.virtualenvs/b2g-gaia/local/lib/python2.7/site-packages/marionette/marionette_test.py", line 170, in run
    testMethod()
  File "/home/andreihutusoru/webQA/b2g-gaia/gaia/tests/python/gaia-ui-tests/gaiatest/tests/functional/settings/test_settings_do_not_track.py", line 31, in test_enable_do_not_track_via_settings_app
    self.assertEqual(self.data_layer.get_bool_pref('privacy.donottrackheader.enabled'), True)
TEST-UNEXPECTED-FAIL | test_settings_do_not_track.py test_settings_do_not_track.TestSettingsDoNotTrack.test_enable_do_not_track_via_settings_app | AssertionError: False != True
Priority: -- → P1
I remember seeing this on v2.1 too
Summary: [v2.0] Intermittent test_settings_do_not_track.py failure → [v2.1][v2.0] Intermittent test_settings_do_not_track.py failure
Assignee: nobody → andrei.hutusoru
Attached file Master PR (obsolete) —
I don't know if you agree withe this changes, but it makes more sense to me.
Attachment #8458494 - Flags: review?(zcampbell)
Attachment #8458494 - Flags: review?(robert.chira)
Attachment #8458494 - Flags: review?(florin.strugariu)
AndreiH, it failed in the Aurora adhoc, are you sure this change is doing anything?
Comment on attachment 8458494 [details] [review]
Master PR

r- because the adhoc failed.
I suspect it's not actually tapping on the radio button properly, Intermittents are often the step before the one that's failing.
Attachment #8458494 - Flags: review?(zcampbell) → review-
Comment on attachment 8458494 [details] [review]
Master PR

Zac the adhoc is before the patch :) sorry I didn't specify that.
Attachment #8458494 - Flags: review- → review?(zcampbell)
Comment on attachment 8458494 [details] [review]
Master PR

see comment in the pull

I think adding those waits in the tests reduces the readability and we should wait for the changes in the app object
Attachment #8458494 - Flags: review?(florin.strugariu) → review-
Comment on attachment 8458494 [details] [review]
Master PR

r- because the test failed again on adhoc. Moving the waits must not fix the problem, it must be something else, possibly the tap before the way not actually executing.
Attachment #8458494 - Flags: review?(zcampbell)
Attachment #8458494 - Flags: review?(robert.chira)
Attachment #8458494 - Flags: review-
Attachment #8458494 - Attachment is obsolete: true
Attachment #8468456 - Flags: review?(zcampbell)
Attachment #8468456 - Flags: review?(robert.chira)
Comment on attachment 8468456 [details] [review]
Github PR: https://github.com/mozilla-b2g/gaia/pull/22571

You should make the pull for master and then uplift
Attachment #8468456 - Flags: review?(robert.chira) → review-
I opened a PR on master and also started an adhoc run: http://jenkins1.qa.scl3.mozilla.com/job/flame.mozilla-central.ui.adhoc/91/console
Attachment #8468456 - Attachment is obsolete: true
Attachment #8468456 - Flags: review?(zcampbell)
Attachment #8469304 - Flags: review?(zcampbell)
Attachment #8469304 - Flags: review?(robert.chira)
Attachment #8469304 - Flags: review?(robert.chira) → review+
https://github.com/mozilla-b2g/gaia/commit/dea4b90ca5e72625f7f7f27157709faba060bcd2
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Attachment #8469304 - Flags: review?(zcampbell)
Attachment #8470681 - Flags: review?(robert.chira) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: