← Back to team overview

unity-api-bugs team mailing list archive

[Bug 1358356] [NEW] Run ubuntu-ui-toolkit tests before landing

 

Public bug reported:

Please run UITK autopilot tests before landing changes to launcher to
ensure it didn't break.

This will avoid introducing issues such as this bug:
https://bugs.launchpad.net/ubuntu-app-launch/+bug/1357252

To run the UITK tests, execute the following (copied from the bug
above):

[terminal 1]
1. flash/update device if needed
2. adb shell
3. apt install ubuntu-ui-toolkit-autopilot
4. powerd-cli display on bright # leave running, also unlock the screen so that lenses are shown
[terminal 2]
5. phablet-config autopilot --dbus-probe enable # wait until finishes
6. phablet-test-run ubuntuuitoolkit

** Affects: ubuntu-app-launch
     Importance: Undecided
         Status: Incomplete

** Description changed:

  Please run UITK autopilot tests before landing changes to launcher to
  ensure it didn't break.
  
- To run the tests, this is how I prepare the device (that has the latest image):
- adb shell apt-get install -y qtdeclarative5-ubuntu-ui-toolkit-plugin ubuntu-ui-toolkit-autopilot ubuntu-ui-toolkit-theme
+ This will avoid introducing issues such as this bug:
+ https://bugs.launchpad.net/ubuntu-app-launch/+bug/1357252
  
- then, the tests can be executed with:
- phablet-test-run -p ubuntu-ui-toolkit-autopilot ubuntuuitoolkit
+ To run the UITK tests, execute the following (copied from the bug
+ above):
+ 
+ [terminal 1]
+ 1. flash/update device if needed
+ 2. adb shell
+ 3. apt install ubuntu-ui-toolkit-autopilot
+ 4. powerd-cli display on bright # leave running, also unlock the screen so that lenses are shown
+ [terminal 2]
+ 5. phablet-config autopilot --dbus-probe enable # wait until finishes
+ 6. phablet-test-run ubuntuuitoolkit

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Ubuntu Application Launcher.
https://bugs.launchpad.net/bugs/1358356

Title:
  Run ubuntu-ui-toolkit tests before landing

Status in Ubuntu Application Launcher:
  Incomplete

Bug description:
  Please run UITK autopilot tests before landing changes to launcher to
  ensure it didn't break.

  This will avoid introducing issues such as this bug:
  https://bugs.launchpad.net/ubuntu-app-launch/+bug/1357252

  To run the UITK tests, execute the following (copied from the bug
  above):

  [terminal 1]
  1. flash/update device if needed
  2. adb shell
  3. apt install ubuntu-ui-toolkit-autopilot
  4. powerd-cli display on bright # leave running, also unlock the screen so that lenses are shown
  [terminal 2]
  5. phablet-config autopilot --dbus-probe enable # wait until finishes
  6. phablet-test-run ubuntuuitoolkit

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-app-launch/+bug/1358356/+subscriptions


Follow ups

References