[Bug 1574706] [NEW] Disabling the welcome wizard doesn’t dismiss it

Olivier Tilloy olivier.tilloy at canonical.com
Mon Apr 25 15:21:42 UTC 2016


Public bug reported:

The autopkgtest helper script that sets up a phone for running autopilot
tests (https://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/tree
/ssh-setup/adb) disables the welcome wizard and edges intro.

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/ubuntu-system-settings/wizard-has-run.

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.

** Affects: autopkgtest (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: unity8 (Ubuntu)
     Importance: Undecided
         Status: New

** Also affects: autopkgtest (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1574706

Title:
  Disabling the welcome wizard doesn’t dismiss it

Status in autopkgtest package in Ubuntu:
  New
Status in unity8 package in Ubuntu:
  New

Bug description:
  The autopkgtest helper script that sets up a phone for running
  autopilot tests
  (https://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/tree/ssh-
  setup/adb) disables the welcome wizard and edges intro.

  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/ubuntu-system-settings/wizard-has-run.

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1574706/+subscriptions



More information about the foundations-bugs mailing list