Closed Bug 984951 Opened 12 years ago Closed 10 years ago

Disable the warning when running the tests against a desktop b2g build

Categories

(Remote Protocol :: Marionette, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: ehsan.akhgari, Unassigned)

Details

(Keywords: pi-marionette-runner)

When running the tests against a desktop b2g build, I get: $ gaiatest --binary=~/moz/src/obj-b2g-dbg.noindex/dist/B2GDebug.app/Contents/MacOS/b2g --profile=~/moz/gaia/profile --testvars=testvars.json --restart --type=b2g ./gaiatest/tests/tbpl-manifest.ini ***** ACKNOWLEDGE RISKS ******************************************************** These tests are destructive and may remove data from the target Firefox OS instance as well as using services that may incur costs! Before you can run these tests you must follow the steps to indicate you have acknowledged the risks detailed at the following address: https://developer.mozilla.org/en-US/docs/Gaia_Test_Runner#Risks ******************************************************************************** I don't think this warning makes a lot of sense when I'm trying to run the tests against an empty profile on b2g-desktop. :-)
Some users might have special settings or stuff installed in the profile they use. This warning was added to prevent loosing that data so I think it would be a bad idea of removing this. @davehunt Is this correct? Should we add a exception for desktop?
Flags: needinfo?(dave.hunt)
If --restart and --profile are specified then we clone the profile and use that, so we should be able to safely remove this warning.
Flags: needinfo?(dave.hunt)
All these bits have been whisked away into the test runner where we can't break them so changing the component to reflect that.
Component: Gaia::UI Tests → Marionette
Product: Firefox OS → Testing
Closing out B2G related bugs. If these still happen and are valuable, please reopen with details again and how this affects Desktop/Fennec
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → WONTFIX
Product: Testing → Remote Protocol
You need to log in before you can comment on or make changes to this bug.