Closed
Bug 805038
Opened 12 years ago
Closed 6 years ago
write and automate-able marionette test for PermissionPromptService.js
Categories
(Core Graveyard :: DOM: Apps, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: ddahl, Unassigned)
References
Details
While working on bug 773114, I attempted several different times to write an automated test for the platform prompt that triggers the gaia front end that asks you to "remember the permission". There are several reasons why this was not working: 1. The contacts API is the only api that consumes this prompt, and Gaia via marionette does not have a scriptable way to load the contacts app. I event tried setting the homescreen to contacts, but that skipped over setting the initial permissions. 2. I attempted to use a python test as well, but was having too many stability issues with gaia. I ended up testing the code by manually changing the sqlite value for the contacts app to "prompt", loading contacts and telling the prompt to remember the permission, then checking the database for the update. I spent a fair amount of time talking to the automation team and decided to punt on this test - if anyone has ideas on this, please let me know.
Reporter | ||
Updated•12 years ago
|
Assignee: nobody → ddahl
Reporter | ||
Comment 1•11 years ago
|
||
Jason: Is this still an issue? Is there now a way to automate these tests?
Flags: needinfo?(jsmith)
Reporter | ||
Comment 3•11 years ago
|
||
(In reply to Jason Smith [:jsmith] from comment #2) > Don't know. Who should be cc'd that might know if we can write marionette tests for B2G permissions?
Reporter | ||
Updated•11 years ago
|
Assignee: ddahl → nobody
Updated•7 years ago
|
Product: Core → Core Graveyard
Comment 4•6 years ago
|
||
Core Graveyard / DOM: Apps is inactive. Closing all bugs in this component.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•