Create test for the Tour application.
15
needles/gnome/apps/tour/tour_leftright.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 343,
|
||||
"ypos": 545,
|
||||
"width": 131,
|
||||
"height": 29,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"tour_leftright"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/tour/tour_leftright.png
Normal file
After Width: | Height: | Size: 55 KiB |
15
needles/gnome/apps/tour/tour_niceday.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 468,
|
||||
"ypos": 544,
|
||||
"width": 203,
|
||||
"height": 31,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"tour_niceday"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/tour/tour_niceday.png
Normal file
After Width: | Height: | Size: 57 KiB |
15
needles/gnome/apps/tour/tour_overview-20230619.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 410,
|
||||
"ypos": 547,
|
||||
"width": 207,
|
||||
"height": 29,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"tour_overview"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/tour/tour_overview-20230619.png
Normal file
After Width: | Height: | Size: 76 KiB |
15
needles/gnome/apps/tour/tour_search.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 388,
|
||||
"ypos": 542,
|
||||
"width": 244,
|
||||
"height": 33,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"tour_search"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/tour/tour_search.png
Normal file
After Width: | Height: | Size: 113 KiB |
24
needles/gnome/apps/tour/tour_start.json
Normal file
@ -0,0 +1,24 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 421,
|
||||
"ypos": 546,
|
||||
"width": 184,
|
||||
"height": 30,
|
||||
"type": "ocr",
|
||||
"margin": 30,
|
||||
"refstr": "Start the Tour"
|
||||
},
|
||||
{
|
||||
"xpos": 284,
|
||||
"ypos": 284,
|
||||
"width": 78,
|
||||
"height": 80,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"tour_start"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/tour/tour_start.png
Normal file
After Width: | Height: | Size: 45 KiB |
15
needles/gnome/apps/tour/tour_updown.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 342,
|
||||
"ypos": 545,
|
||||
"width": 122,
|
||||
"height": 27,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"tour_updown"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/tour/tour_updown.png
Normal file
After Width: | Height: | Size: 25 KiB |
15
needles/gnome/apps/tour/tour_workspaces.json
Normal file
@ -0,0 +1,15 @@
|
||||
{
|
||||
"area": [
|
||||
{
|
||||
"xpos": 322,
|
||||
"ypos": 546,
|
||||
"width": 379,
|
||||
"height": 28,
|
||||
"type": "match"
|
||||
}
|
||||
],
|
||||
"properties": [],
|
||||
"tags": [
|
||||
"tour_workspaces"
|
||||
]
|
||||
}
|
BIN
needles/gnome/apps/tour/tour_workspaces.png
Normal file
After Width: | Height: | Size: 79 KiB |
@ -1263,6 +1263,23 @@
|
||||
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%"
|
||||
}
|
||||
},
|
||||
"tour": {
|
||||
"profiles": {
|
||||
"fedora-Silverblue-dvd_ostree-iso-ppc64le-*-ppc64le": 50,
|
||||
"fedora-Silverblue-dvd_ostree-iso-x86_64-*-64bit": 50,
|
||||
"fedora-Workstation-live-iso-ppc64le-*-ppc64le": 20,
|
||||
"fedora-Workstation-live-iso-x86_64-*-64bit": 20,
|
||||
"fedora-Workstation-upgrade-x86_64-*-64bit": 40,
|
||||
"fedora-Workstation-upgrade-aarch64-*-aarch64": 40,
|
||||
"fedora-Workstation-raw_xz-raw.xz-aarch64-*-aarch64": 22
|
||||
},
|
||||
"settings": {
|
||||
"BOOTFROM": "c",
|
||||
"HDD_1": "disk_%FLAVOR%_%MACHINE%.qcow2",
|
||||
"POSTINSTALL_PATH": "tests/applications/tour",
|
||||
"START_AFTER_TEST": "%DEPLOY_UPLOAD_TEST%"
|
||||
}
|
||||
},
|
||||
"weather": {
|
||||
"profiles": {
|
||||
"fedora-Silverblue-dvd_ostree-iso-ppc64le-*-ppc64le": 50,
|
||||
|
42
tests/applications/tour/tour.pm
Normal file
@ -0,0 +1,42 @@
|
||||
use base "installedtest";
|
||||
use strict;
|
||||
use testapi;
|
||||
use utils;
|
||||
|
||||
# This test will test the Tour application.
|
||||
|
||||
sub run {
|
||||
my $self = shift;
|
||||
|
||||
# Start the Application
|
||||
menu_launch_type("tour");
|
||||
|
||||
assert_screen("tour_start");
|
||||
send_key("right");
|
||||
|
||||
assert_screen("tour_overview");
|
||||
send_key("right");
|
||||
|
||||
assert_screen("tour_search");
|
||||
send_key("right");
|
||||
|
||||
assert_screen("tour_workspaces");
|
||||
send_key("right");
|
||||
|
||||
assert_screen("tour_updown");
|
||||
send_key("right");
|
||||
|
||||
assert_screen("tour_leftright");
|
||||
send_key("right");
|
||||
|
||||
assert_screen("tour_niceday");
|
||||
}
|
||||
|
||||
sub test_flags {
|
||||
# If this test fails, there is no need to continue.
|
||||
return {fatal => 1, milestone => 1};
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
# vim: set sw=4 et:
|