Closed
Bug 1021732
Opened 10 years ago
Closed 10 years ago
[Flame] Re-enable test_privileged_app_contacts_prompt
Categories
(Firefox OS Graveyard :: Gaia::UI Tests, defect)
Tracking
(b2g-v2.0 affected)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
b2g-v2.0 | --- | affected |
People
(Reporter: AndreiH, Assigned: viorela)
References
Details
Attachments
(6 files)
(deleted),
text/x-github-pull-request
|
RobertC
:
review+
|
Details |
(deleted),
text/x-github-pull-request
|
Bebe
:
review+
|
Details |
(deleted),
text/x-github-pull-request
|
Bebe
:
review+
|
Details |
(deleted),
text/x-github-pull-request
|
Details | |
(deleted),
text/x-github-pull-request
|
Bebe
:
review+
|
Details |
(deleted),
text/x-github-pull-request
|
viorela
:
review+
|
Details |
The test started to fail in: http://selenium.qa.mtv2.mozilla.com:8080/view/B2G%20Flame/job/b2g.flame.mozilla-central.ui.non-smoketest/54/HTML_Report/ Needs to be investigated. Traceback (most recent call last): File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/marionette_test.py", line 163, in run testMethod() File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/tests/python/gaia-ui-tests/gaiatest/tests/functional/system/test_privileged_app_contacts_prompt.py", line 28, in test_contact_prompt permission.wait_for_permission_dialog_displayed() File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/tests/python/gaia-ui-tests/gaiatest/apps/homescreen/regions/permission_dialog.py", line 17, in wait_for_permission_dialog_displayed self.wait_for_element_displayed(*self._permission_dialog_locator) File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/tests/python/gaia-ui-tests/gaiatest/apps/base.py", line 42, in wait_for_element_displayed lambda m: m.find_element(by, locator).is_displayed()) File "/var/jenkins/workspace/b2g.flame.mozilla-central.ui.non-smoketest/.env/local/lib/python2.7/site-packages/marionette_client-0.7.7-py2.7.egg/marionette/wait.py", line 143, in until cause=last_exc) TimeoutException: TimeoutException: Timed out after 20.1 seconds
Reporter | ||
Comment 1•10 years ago
|
||
It seems that the "permission dialog" is not shown anymore after tapping on "Insert fake contacts". STR: 1. Open UI tests app 2. Tap on Contacts 3. Tap on Insert fake contacts Before there was a warning message that appeared: UI tests - Privileged App would like to access your contact list. Is this intended?
Flags: needinfo?(jsmith)
Whiteboard: [qawanted]
Comment 3•10 years ago
|
||
No - this is a regression, and a bad one at that. Is this working on 1.4?
blocking-b2g: --- → 2.0?
Component: Gaia::UI Tests → DOM: Apps
Flags: needinfo?(jsmith)
Keywords: regression,
regressionwindow-wanted
Product: Firefox OS → Core
Whiteboard: [qawanted]
Version: unspecified → Trunk
Reporter | ||
Comment 4•10 years ago
|
||
This is not reproducible on v1.4 latest build: Gaia 183efb374be1bcbf92f1fb3d0212a68b564a6d3e Gecko https://hg.mozilla.org/releases/mozilla-b2g30_v1_4/rev/960c48b5a5fa BuildID 20140606000204 Version 30.0 ro.build.version.incremental=94 ro.build.date=Tue May 20 09:29:20 CST 2014
Comment 5•10 years ago
|
||
This is actually intended if the app is a preinstalled one. See bug 1014410
Updated•10 years ago
|
Blocks: 1014410
Keywords: regressionwindow-wanted
Comment 6•10 years ago
|
||
Discussed in IRC - bug 1014410 changes the behavior here, so we need to update the UI automation for privileged app tests to make sure that the relevant privileged APIs are set to prompt before running the test.
blocking-b2g: 2.0? → ---
Component: DOM: Apps → Gaia::UI Tests
Product: Core → Firefox OS
Version: Trunk → unspecified
Reporter | ||
Updated•10 years ago
|
Whiteboard: [fromAutomation]
Reporter | ||
Comment 7•10 years ago
|
||
Removing the tag, this remains for tracking test changes
Whiteboard: [fromAutomation]
Updated•10 years ago
|
Assignee: nobody → zcampbell
Comment 8•10 years ago
|
||
I've updated the test but found a bug: bug 1024513. I'll xfail and update the test at the same time.
Depends on: 1024513
Updated•10 years ago
|
Summary: [Flame][v2.0] test_privileged_app_contacts_prompt is failing on flame → [Flame] Update test_privileged_app_contacts_prompt to match new prompt behaviour
Updated•10 years ago
|
Keywords: regression
Updated•10 years ago
|
Attachment #8439230 -
Flags: review?(robert.chira) → review+
Comment 10•10 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/0bbeecfc239f0c3ab027be631b187f2dd9ca80be
Updated•10 years ago
|
Attachment #8440649 -
Flags: review?(florin.strugariu) → review+
Comment 12•10 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/5da2b8a8c844af85b6825caa102f8cbe8b30b648
Updated•10 years ago
|
Assignee: zcampbell → nobody
Summary: [Flame] Update test_privileged_app_contacts_prompt to match new prompt behaviour → [Flame] Re-enable test_privileged_app_contacts_prompt
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → viorela.ioia
Assignee | ||
Comment 13•10 years ago
|
||
Bug 1024513 is fixed, so we can re-enable the test
Attachment #8453024 -
Flags: review?(florin.strugariu)
Attachment #8453024 -
Flags: review?(andrei.hutusoru)
Updated•10 years ago
|
Attachment #8453024 -
Flags: review?(florin.strugariu) → review+
Comment 14•10 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/942c3154cb7a475f725c98f6b69bbe5e383be321
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•10 years ago
|
Attachment #8453024 -
Flags: review?(andrei.hutusoru)
Assignee | ||
Comment 15•10 years ago
|
||
We need to re-enable the test on v2.0 too
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•10 years ago
|
status-b2g-v2.0:
--- → affected
Reporter | ||
Comment 17•10 years ago
|
||
Viorela can you please investigate also why it's failing on Travis: https://travis-ci.org/mozilla-b2g/gaia/jobs/29585963 It is constantly failing.
Comment 18•10 years ago
|
||
(In reply to [:AndreiH] from comment #17) > Viorela can you please investigate also why it's failing on Travis: > https://travis-ci.org/mozilla-b2g/gaia/jobs/29585963 > > It is constantly failing. Reverted it: https://github.com/mozilla-b2g/gaia/commit/e347a0f1ffa02d5a4feb21dfbe3ffb69b6768c87 Let's investigate why it's failing on master first.
Comment 20•10 years ago
|
||
Viorela can you take a new look over this issue as it was reverted.
Flags: needinfo?(viorela.ioia)
Updated•10 years ago
|
Attachment #8453798 -
Flags: review?(florin.strugariu)
Assignee | ||
Comment 21•10 years ago
|
||
Bebe, there's bug Bug 1037030 opened for this issue.
Flags: needinfo?(viorela.ioia)
Assignee | ||
Comment 22•10 years ago
|
||
Bug 1037030 is fixed, I run the test on both device and desktopb2g and it passes
Attachment #8459615 -
Flags: review?(florin.strugariu)
Updated•10 years ago
|
Attachment #8459615 -
Flags: review?(florin.strugariu) → review+
Comment 23•10 years ago
|
||
https://github.com/mozilla-b2g/gaia/commit/b6e702681a3b7d440d55e1decffd9672f7561e04
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
Comment 24•10 years ago
|
||
Unxfailed test_contact_prompt on v2.0
Attachment #8470814 -
Flags: review?(viorela.ioia)
Assignee | ||
Updated•10 years ago
|
Attachment #8470814 -
Flags: review?(viorela.ioia) → review+
Assignee | ||
Comment 25•10 years ago
|
||
Merged on v2.0: https://github.com/mozilla-b2g/gaia/commit/9f94a78eef3a9305140c550c983871a46b0692e7
You need to log in
before you can comment on or make changes to this bug.
Description
•