2
category_id: 2013.com.canonical.plainbox::graphics
3
id: graphics/screenshot_opencv_validation
4
requires: package.name == 'python-opencv'
5
environ: EXTERNAL_WEBCAM_DEVICE
7
screenshot_validation \
8
${PLAINBOX_PROVIDER_DATA}/images/logo_Ubuntu_stacked_black.png \
9
--device=${EXTERNAL_WEBCAM_DEVICE:-/dev/external_webcam} \
10
-o ${PLAINBOX_SESSION_SHARE}/screenshot_opencv_validation.jpg
11
_summary: Test that a screenshot is valid, automatically
13
Take a screengrab of the screen displaying a black and white Ubuntu logo.
14
Check that the screenshot matches the original file using OpenCV ORB detection.
17
category_id: 2013.com.canonical.plainbox::graphics
18
id: screenshot_opencv_validation.jpg
19
after: graphics/screenshot_opencv_validation
20
command: [ -f ${PLAINBOX_SESSION_SHARE}/screenshot_opencv_validation.jpg ] && base64 ${PLAINBOX_SESSION_SHARE}/screenshot_opencv_validation.jpg
21
_description: Attaches the screenshot captured in graphics/screenshot_opencv_validation.
22
_summary: Attach the screenshot captured for the automatically validated screenshot test
28
This test plan contains tests that are useful for validating a Stable
29
Release Update (SRU) on Ubuntu Certified systems. This test plan is not
30
recommended for, nor will it be accepted for self-testing purposes.
64
audio/alsa_record_playback_automated
65
bluetooth/detect-output
67
camera/multiple-resolution-images
69
cpu/scaling_test-log-attach
72
disk/read_performance_.*
74
graphics/1_compiz_check_.*
75
graphics/xorg-failsafe
77
graphics/1_screenshot_.*
79
graphics/1_screenshot_fullscreen_video_.*
80
1_screenshot_fullscreen_video_.*.jpg
81
graphics/screenshot_opencv_validation
82
screenshot_opencv_validation.jpg
83
install/apt-get-gets-updates
84
mediacard/sd-preinserted
88
ethernet/info_automated
90
networking/gateway_ping
91
power-management/tickless_idle
93
power-management/fwts_wakealarm
94
power-management/fwts_wakealarm-log-attach
96
usb/storage-preinserted
97
wireless/wireless_scanning
98
wireless/wireless_connection_wpa_bg
99
wireless/wireless_connection_open_bg
100
wireless/wireless_connection_wpa_n
101
wireless/wireless_connection_open_n
102
wireless/monitor_wireless_connection_udp
103
suspend/audio_before_suspend
104
suspend/bluetooth_obex_send_before_suspend
105
suspend/bluetooth_obex_browse_before_suspend
106
suspend/bluetooth_obex_get_before_suspend
107
suspend/cpu_before_suspend
108
suspend/network_before_suspend
109
suspend/memory_before_suspend
110
suspend/suspend_advanced_auto
111
suspend/suspend-single-log-check
112
suspend/suspend-single-log-attach
113
suspend/audio_after_suspend_auto
114
suspend/network_resume_time_auto
115
suspend/wifi_resume_time_auto
116
suspend/usb_storage_preinserted_after_suspend
117
suspend/record_playback_after_suspend_auto
118
suspend/bluetooth_obex_send_after_suspend_auto
119
suspend/bluetooth_obex_browse_after_suspend_auto
120
suspend/bluetooth_obex_get_after_suspend_auto
121
suspend/cpu_after_suspend_auto
122
suspend/memory_after_suspend_auto
123
suspend/wireless_connection_after_suspend_wpa_bg_auto
124
suspend/wireless_connection_after_suspend_open_bg_auto
125
suspend/wireless_connection_after_suspend_wpa_n_auto
126
suspend/wireless_connection_after_suspend_open_n_auto
127
suspend/gpu_lockup_after_suspend
128
suspend/screenshot_after_suspend
129
screenshot_after_suspend.jpg