1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-27 12:43:08 +00:00
os-autoinst-distri-fedora/tests/apps_startstop/gnome/camera.pm
Adam Williamson dcad60de30 F39 EOL cleanup: remove Cheese support
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2024-11-28 13:39:02 -08:00

32 lines
654 B
Perl

use base "installedtest";
use strict;
use testapi;
use utils;
# This test checks that Camera (snapshot) starts.
sub run {
my $self = shift;
# FIXME after F39 is stable, drop the old 'cheese' needles
# and always expect the access dialog
# Start the application
start_with_launcher('apps_menu_camera');
# Click the camera access dialog
assert_and_click 'grant_access';
# Check we see the app run
assert_screen 'apps_run_camera';
# Register application
register_application("gnome-snapshot");
# Close the application
quit_with_shortcut();
}
sub test_flags {
return {};
}
1;
# vim: set sw=4 et: