Disabling the welcome wizard doesn’t dismiss it
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autopkgtest (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
phablet-tools (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
unity8 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The autopkgtest helper script that sets up a phone for running autopilot tests (https:/
To disable the welcome wizard, it issues the following command:
phablet-config welcome-wizard --disable
Which under the covers creates the following file on the device: ~/.config/
Unity8 doesn’t seem to have any logic to discard the currently running wizard when that file is created (maybe on purpose?).
This results in the phone under test still displaying the welcome wizard when control is handed off to the app’s autopkgtests, so autopilot tests will most likely fail because the app being launched is displayed under the wizard.
I’m not sure whether not dismissing the wizard when the "wizard-has-run" file is being created is intentional. If it is, then the autopkgtest helper script needs additional logic to restart unity8 and unlock the screen.
IMHO this would be better fixed centrally in phablet-tools (which ships phablet-config), or in unity8 directly as you say. But if there's a reason not to do that, can you please tell me how to change autopkgtest's adb setup script?Thanks!