Skip to content

[checkbox-ce-oem] Add a test for splash screen (New) #1790

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,22 @@ requires:
category_id: com.canonical.certification::gadget
estimated_duration: 5s
command: check_gadget_interface.py --type {type} --name {name} --interface {interface}

unit: job
id: ce-oem-gadget/splash-screen
category_id: com.canonical.certification::gadget
_summary: Check if the splash screen appears
_purpose: Reboot the tested machine and check if splash screen appears
_steps:
- "The machine will reboot."
- "Check if the splash screen appears."
- "If running locally, start Checkbox again after reboot."
- "Press R to resume the test and select pass (P) if splash screen appeared or fail (F) if splash screen did not appear."
plugin: user-interact
user: root
flags: preserve-locale noreturn autorestart
imports: from com.canonical.plainbox import manifest
requires:
manifest.has_gadget_splashscreen == 'True'
command:
dbus-send --system --print-reply --dest=org.freedesktop.login1 /org/freedesktop/login1 "org.freedesktop.login1.Manager.Reboot" boolean:true
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@ id: need_gadget_interface_test
_name: Gadget
_promt: Does platform have plugs and slots been defined in Gadget snap and need to be verify?
value-type: bool

unit: manifest entry
id: has_gadget_splashscreen
_name: Is splash screen enabled?
value-type: bool
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ unit: test plan
_name: gadget related manual tests
_description: Manual gadget related tests for devices
include:
ce-oem-gadget/splash-screen

id: ce-oem-gadget-automated
unit: test plan
Expand Down
Loading