weston-kiosk manual

low

Image Types:
hmi-armhf / hmi-amd64 / sdk-amd64
Image Deployment:
APT
Type:
functional

Description

Test that weston using kiosk-shell is able to run.


Resources

  • A monitor connected to the testing target.

Pre Conditions

  1. Clone the tests repository from another computer (Note that the branch being tested may change depending on the release, please make sure to clone the correct branch for the release in question):
  2. $ git clone --branch apertis/v2026 https://gitlab.apertis.org/tests/weston.git
  3. Copy the test directory weston to the target device:
  4. $ DUT_IP=<device-ip>
    $ scp -r weston user@$DUT_IP:
  5. Log into the target device:
  6. $ ssh user@$DUT_IP

Execution Steps

  1. Only in case of an SDK image, switch to a new terminal and launch weston
  2. $ weston
  3. In case of HMI images this step is not required since Weston starts at boot
  4. Verify that a desktop shows in screen
  5. Switch Weston to use the kiosk-shell
  6. $ sudo weston/weston-change-shell.sh -k
  7. For HMI images, reboot your device
  8. $ sudo reboot
  9. For SDK images, restart a new weston
  10. $ weston
  11. Verify that Weston starts with MiniBrowser in full-screen mode
  12. Switch back Weston to use the desktop-shell
  13. $ sudo weston/weston-change-shell.sh -d

Expected

Initially this test shows the Weston desktop with a toolbar containing icons.

After switching to kiosk-shell, Weston displays MiniBrowser (WebKitGTK) in full-screen.