2018-12-18 12:07:37 +00:00
|
|
|
use base "installedtest";
|
|
|
|
use strict;
|
|
|
|
use testapi;
|
|
|
|
use utils;
|
|
|
|
|
|
|
|
# This test checks that Simple Scan starts.
|
|
|
|
|
|
|
|
sub run {
|
|
|
|
my $self = shift;
|
2023-02-12 22:59:37 +00:00
|
|
|
|
2018-12-18 12:07:37 +00:00
|
|
|
# Start the application
|
2021-03-25 00:31:03 +00:00
|
|
|
start_with_launcher('apps_menu_scan');
|
2018-12-18 12:07:37 +00:00
|
|
|
# Check that is started
|
|
|
|
assert_screen 'apps_run_scan';
|
2019-09-19 14:03:50 +00:00
|
|
|
# Register application
|
|
|
|
register_application("simple-scan");
|
2018-12-18 12:07:37 +00:00
|
|
|
# Close the application
|
|
|
|
quit_with_shortcut();
|
2023-02-12 22:59:37 +00:00
|
|
|
|
2018-12-18 12:07:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
sub test_flags {
|
|
|
|
return {always_rollback => 1};
|
|
|
|
}
|
|
|
|
|
|
|
|
1;
|
|
|
|
|
|
|
|
# vim: set sw=4 et:
|