Enable start/stop tests on Silverblue.
15
needles/gnome/apps/apps_connections_nothanks.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 475,
|
||||||
|
"ypos": 595,
|
||||||
|
"width": 77,
|
||||||
|
"height": 22,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"apps_connections_nothanks"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/gnome/apps/apps_connections_nothanks.png
Normal file
After Width: | Height: | Size: 86 KiB |
15
needles/gnome/apps/apps_connections_popup.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 508,
|
||||||
|
"ypos": 491,
|
||||||
|
"width": 160,
|
||||||
|
"height": 30,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"apps_connections_popup"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/gnome/apps/apps_connections_popup.png
Normal file
After Width: | Height: | Size: 86 KiB |
15
needles/gnome/apps/apps_menu_connections.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 480,
|
||||||
|
"ypos": 234,
|
||||||
|
"width": 61,
|
||||||
|
"height": 69,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"apps_menu_connections"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/gnome/apps/apps_menu_connections.png
Normal file
After Width: | Height: | Size: 82 KiB |
15
needles/gnome/apps/apps_menu_fmw.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 205,
|
||||||
|
"ypos": 351,
|
||||||
|
"width": 25,
|
||||||
|
"height": 34,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"apps_menu_fmw"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/gnome/apps/apps_menu_fmw.png
Normal file
After Width: | Height: | Size: 70 KiB |
15
needles/gnome/apps/apps_menu_tour.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 322,
|
||||||
|
"ypos": 350,
|
||||||
|
"width": 29,
|
||||||
|
"height": 38,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"apps_menu_tour"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/gnome/apps/apps_menu_tour.png
Normal file
After Width: | Height: | Size: 70 KiB |
15
needles/gnome/apps/apps_run_connections-20240619.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 508,
|
||||||
|
"ypos": 473,
|
||||||
|
"width": 181,
|
||||||
|
"height": 36,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"apps_run_connections"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/gnome/apps/apps_run_connections-20240619.png
Normal file
After Width: | Height: | Size: 33 KiB |
15
needles/gnome/apps/apps_run_fmw.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 440,
|
||||||
|
"ypos": 113,
|
||||||
|
"width": 156,
|
||||||
|
"height": 21,
|
||||||
|
"type": "match"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"apps_run_fmw"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/gnome/apps/apps_run_fmw.png
Normal file
After Width: | Height: | Size: 72 KiB |
15
needles/gnome/apps/apps_run_tour.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"xpos": 441,
|
||||||
|
"height": 31,
|
||||||
|
"type": "match",
|
||||||
|
"ypos": 545,
|
||||||
|
"width": 141
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"apps_run_tour"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/gnome/apps/apps_run_tour.png
Normal file
After Width: | Height: | Size: 103 KiB |
@ -626,6 +626,8 @@
|
|||||||
"apps_startstop": {
|
"apps_startstop": {
|
||||||
"profiles": {
|
"profiles": {
|
||||||
"fedora-KDE-live-iso-x86_64-*-64bit": 40,
|
"fedora-KDE-live-iso-x86_64-*-64bit": 40,
|
||||||
|
"fedora-Silverblue-dvd_ostree-iso-ppc64le-*-ppc64le": 50,
|
||||||
|
"fedora-Silverblue-dvd_ostree-iso-x86_64-*-64bit": 50,
|
||||||
"fedora-Workstation-live-iso-ppc64le-*-ppc64le": 40,
|
"fedora-Workstation-live-iso-ppc64le-*-ppc64le": 40,
|
||||||
"fedora-Workstation-upgrade-x86_64-*-64bit": 40,
|
"fedora-Workstation-upgrade-x86_64-*-64bit": 40,
|
||||||
"fedora-Workstation-live-iso-x86_64-*-64bit": 40,
|
"fedora-Workstation-live-iso-x86_64-*-64bit": 40,
|
||||||
|
@ -7,7 +7,9 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
my $subvariant = get_var("SUBVARIANT", "Workstation");
|
||||||
|
|
||||||
|
if ($subvariant ne "Silverblue") {
|
||||||
# Start the application
|
# Start the application
|
||||||
start_with_launcher('apps_menu_abrt', 'apps_menu_utilities');
|
start_with_launcher('apps_menu_abrt', 'apps_menu_utilities');
|
||||||
# Check that it is started
|
# Check that it is started
|
||||||
@ -16,13 +18,16 @@ sub run {
|
|||||||
register_application('gnome-abrt');
|
register_application('gnome-abrt');
|
||||||
# Close the application
|
# Close the application
|
||||||
quit_with_shortcut();
|
quit_with_shortcut();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
diag("Abrt is not installed, skipping the test.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sub test_flags {
|
sub test_flags {
|
||||||
return {};
|
return {};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
||||||
# vim: set sw=4 et:
|
# vim: set sw=4 et:
|
||||||
|
@ -7,7 +7,9 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
my $subvariant = get_var("SUBVARIANT", "Workstation");
|
||||||
|
|
||||||
|
if ($subvariant ne "Silverblue") {
|
||||||
# Start the application
|
# Start the application
|
||||||
start_with_launcher('apps_menu_boxes');
|
start_with_launcher('apps_menu_boxes');
|
||||||
assert_screen 'apps_boxes_tutorial';
|
assert_screen 'apps_boxes_tutorial';
|
||||||
@ -22,6 +24,10 @@ sub run {
|
|||||||
register_application("gnome-boxes");
|
register_application("gnome-boxes");
|
||||||
# Close the application
|
# Close the application
|
||||||
quit_with_shortcut();
|
quit_with_shortcut();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
diag("Boxes is not installed, skipping the test.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sub test_flags {
|
sub test_flags {
|
||||||
|
30
tests/apps_startstop/gnome/connections.pm
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
use base "installedtest";
|
||||||
|
use strict;
|
||||||
|
use testapi;
|
||||||
|
use utils;
|
||||||
|
|
||||||
|
# This test checks that Connections start.
|
||||||
|
|
||||||
|
sub run {
|
||||||
|
my $self = shift;
|
||||||
|
|
||||||
|
# Start the application
|
||||||
|
start_with_launcher('apps_menu_connections', 'apps_menu_utilities');
|
||||||
|
# The Connections will show a pop up window. Dismiss it.
|
||||||
|
assert_screen('apps_connections_popup');
|
||||||
|
assert_and_click('apps_connections_nothanks');
|
||||||
|
# Check that the app is still running
|
||||||
|
assert_screen('apps_run_connections');
|
||||||
|
# Register application
|
||||||
|
register_application('connections');
|
||||||
|
# Close the application
|
||||||
|
quit_with_shortcut();
|
||||||
|
}
|
||||||
|
|
||||||
|
sub test_flags {
|
||||||
|
return {};
|
||||||
|
}
|
||||||
|
|
||||||
|
1;
|
||||||
|
|
||||||
|
# vim: set sw=4 et:
|
33
tests/apps_startstop/gnome/fmw.pm
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
use base "installedtest";
|
||||||
|
use strict;
|
||||||
|
use testapi;
|
||||||
|
use utils;
|
||||||
|
|
||||||
|
# This test checks that Fedora Media Writer starts
|
||||||
|
# on Silverblue.
|
||||||
|
|
||||||
|
sub run {
|
||||||
|
my $self = shift;
|
||||||
|
my $subvariant = get_var("SUBVARIANT");
|
||||||
|
if ($subvariant eq "Silverblue") {
|
||||||
|
# Start the application
|
||||||
|
start_with_launcher('apps_menu_fmw');
|
||||||
|
# Check that is started
|
||||||
|
assert_screen 'apps_run_fmw';
|
||||||
|
# Register application
|
||||||
|
register_application('fedora-media-writer');
|
||||||
|
# Close the application
|
||||||
|
quit_with_shortcut();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
diag("Fedora Media Writer is not installed on Workstation by default. Skipping test.");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
sub test_flags {
|
||||||
|
return {};
|
||||||
|
}
|
||||||
|
|
||||||
|
1;
|
||||||
|
|
||||||
|
# vim: set sw=4 et:
|
@ -7,9 +7,14 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
|
||||||
# Start the application
|
# Start the application
|
||||||
start_with_launcher('apps_menu_fonts', 'apps_menu_utilities');
|
start_with_launcher('apps_menu_fonts', 'apps_menu_utilities');
|
||||||
|
# Fonts might not start on the first attempt, especially on
|
||||||
|
# Silverblue, if that happens, try again to start it.
|
||||||
|
unless (check_screen('apps_run_fonts', timeout => 30)) {
|
||||||
|
record_soft_failure('Fonts crashed immediately or did not start on the first attempt.');
|
||||||
|
start_with_launcher('apps_menu_fonts', 'apps_menu_utilities');
|
||||||
|
}
|
||||||
# Check that is started
|
# Check that is started
|
||||||
assert_screen 'apps_run_fonts';
|
assert_screen 'apps_run_fonts';
|
||||||
# Register application
|
# Register application
|
||||||
|
@ -7,7 +7,9 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
my $subvariant = get_var("SUBVARIANT", "Workstation");
|
||||||
|
|
||||||
|
if ($subvariant ne "Silverblue") {
|
||||||
# Start the application
|
# Start the application
|
||||||
start_with_launcher('apps_menu_lcalc');
|
start_with_launcher('apps_menu_lcalc');
|
||||||
# Check that is started
|
# Check that is started
|
||||||
@ -16,6 +18,10 @@ sub run {
|
|||||||
register_application("libreoffice-calc");
|
register_application("libreoffice-calc");
|
||||||
# Close the application
|
# Close the application
|
||||||
quit_with_shortcut();
|
quit_with_shortcut();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
diag("LibreOffice Calc is not installed, skipping the test.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sub test_flags {
|
sub test_flags {
|
||||||
|
@ -7,7 +7,9 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
my $subvariant = get_var("SUBVARIANT", "Workstation");
|
||||||
|
|
||||||
|
if ($subvariant ne "Silverblue") {
|
||||||
# Start the application
|
# Start the application
|
||||||
start_with_launcher('apps_menu_limpress');
|
start_with_launcher('apps_menu_limpress');
|
||||||
# Check that is started
|
# Check that is started
|
||||||
@ -17,6 +19,10 @@ sub run {
|
|||||||
register_application("libreoffice-impress");
|
register_application("libreoffice-impress");
|
||||||
# Close the application
|
# Close the application
|
||||||
quit_with_shortcut();
|
quit_with_shortcut();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
diag("LibreOffice Impress is not installed, skipping the test.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sub test_flags {
|
sub test_flags {
|
||||||
|
@ -7,7 +7,9 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
my $subvariant = get_var("SUBVARIANT", "Workstation");
|
||||||
|
|
||||||
|
if ($subvariant ne "Silverblue") {
|
||||||
# Start the application
|
# Start the application
|
||||||
start_with_launcher('apps_menu_lwriter');
|
start_with_launcher('apps_menu_lwriter');
|
||||||
# Check that is started
|
# Check that is started
|
||||||
@ -16,6 +18,10 @@ sub run {
|
|||||||
register_application("libreoffice-writer");
|
register_application("libreoffice-writer");
|
||||||
# Close the application
|
# Close the application
|
||||||
quit_with_shortcut();
|
quit_with_shortcut();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
diag("LibreOffice Write not installed, skipping the test.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sub test_flags {
|
sub test_flags {
|
||||||
|
@ -7,7 +7,9 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
my $subvariant = get_var("SUBVARIANT", "Workstation");
|
||||||
|
|
||||||
|
if ($subvariant ne "Silverblue") {
|
||||||
# Start the application
|
# Start the application
|
||||||
start_with_launcher('apps_menu_rhythmbox');
|
start_with_launcher('apps_menu_rhythmbox');
|
||||||
# To give the screen a bit of time.
|
# To give the screen a bit of time.
|
||||||
@ -25,6 +27,11 @@ sub run {
|
|||||||
register_application("rhythmbox");
|
register_application("rhythmbox");
|
||||||
# Close the application
|
# Close the application
|
||||||
quit_with_shortcut();
|
quit_with_shortcut();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
diag("Rhythmbox not installed, skipping the test.");
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
sub test_flags {
|
sub test_flags {
|
||||||
|
@ -7,7 +7,9 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
my $subvariant = get_var("SUBVARIANT", "Workstation");
|
||||||
|
|
||||||
|
if ($subvariant ne "Silverblue") {
|
||||||
# Start the application
|
# Start the application
|
||||||
start_with_launcher('apps_menu_scan');
|
start_with_launcher('apps_menu_scan');
|
||||||
# Check that is started
|
# Check that is started
|
||||||
@ -16,7 +18,10 @@ sub run {
|
|||||||
register_application("simple-scan");
|
register_application("simple-scan");
|
||||||
# Close the application
|
# Close the application
|
||||||
quit_with_shortcut();
|
quit_with_shortcut();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
diag("Scan is not installed, skipping the test.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sub test_flags {
|
sub test_flags {
|
||||||
|
26
tests/apps_startstop/gnome/tour.pm
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
use base "installedtest";
|
||||||
|
use strict;
|
||||||
|
use testapi;
|
||||||
|
use utils;
|
||||||
|
|
||||||
|
# This test checks that Tour starts.
|
||||||
|
|
||||||
|
sub run {
|
||||||
|
my $self = shift;
|
||||||
|
# Start the application
|
||||||
|
start_with_launcher('apps_menu_tour');
|
||||||
|
# Check that is started
|
||||||
|
assert_screen 'apps_run_tour';
|
||||||
|
# Register application
|
||||||
|
register_application('tour');
|
||||||
|
# Close the application
|
||||||
|
quit_with_shortcut();
|
||||||
|
}
|
||||||
|
|
||||||
|
sub test_flags {
|
||||||
|
return {};
|
||||||
|
}
|
||||||
|
|
||||||
|
1;
|
||||||
|
|
||||||
|
# vim: set sw=4 et:
|
@ -7,7 +7,9 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
my $subvariant = get_var("SUBVARIANT", "Workstation");
|
||||||
|
|
||||||
|
if ($subvariant ne "Silverblue") {
|
||||||
# Start the application
|
# Start the application
|
||||||
start_with_launcher('apps_menu_videos');
|
start_with_launcher('apps_menu_videos');
|
||||||
# Check that is started
|
# Check that is started
|
||||||
@ -16,6 +18,10 @@ sub run {
|
|||||||
register_application("totem");
|
register_application("totem");
|
||||||
# Close the application
|
# Close the application
|
||||||
quit_with_shortcut();
|
quit_with_shortcut();
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
diag("Videos not installed, skipping the test.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sub test_flags {
|
sub test_flags {
|
||||||
|
@ -7,10 +7,17 @@ use utils;
|
|||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
my $subvariant = get_var("SUBVARIANT");
|
||||||
$self->root_console(tty => 3);
|
$self->root_console(tty => 3);
|
||||||
|
|
||||||
|
my @core_applications;
|
||||||
# List of applications, that we want to track for their presence.
|
# List of applications, that we want to track for their presence.
|
||||||
|
unless ($subvariant eq "Silverblue") {
|
||||||
my @core_applications = ("gnome-software", "firefox", "gnome-terminal", "nautilus", "gnome-text-editor", "gnome-boxes");
|
my @core_applications = ("gnome-software", "firefox", "gnome-terminal", "nautilus", "gnome-text-editor", "gnome-boxes");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
my @core_applications = ("gnome-software", "firefox", "gnome-terminal", "nautilus", "gnome-text-editor");
|
||||||
|
}
|
||||||
|
|
||||||
# Evaluate the results, make the log files and pass or fail the entire
|
# Evaluate the results, make the log files and pass or fail the entire
|
||||||
# test suite.
|
# test suite.
|
||||||
|