2018-12-18 12:07:37 +00:00
|
|
|
use base "installedtest";
|
|
|
|
use strict;
|
|
|
|
use testapi;
|
|
|
|
use utils;
|
|
|
|
|
|
|
|
# This test checks that Boxes starts.
|
|
|
|
|
|
|
|
sub run {
|
|
|
|
my $self = shift;
|
2021-08-09 22:09:15 +00:00
|
|
|
|
2018-12-18 12:07:37 +00:00
|
|
|
# Start the application
|
|
|
|
start_with_launcher('apps_menu_boxes');
|
2021-08-09 22:09:15 +00:00
|
|
|
assert_screen 'apps_boxes_tutorial';
|
|
|
|
send_key 'esc';
|
2021-09-17 21:33:09 +00:00
|
|
|
unless (check_screen 'apps_run_boxes', 30) {
|
|
|
|
record_soft_failure "Single esc didn't clear tutorial - #2005458?";
|
|
|
|
send_key 'esc';
|
|
|
|
assert_screen 'apps_run_boxes';
|
|
|
|
}
|
2020-03-17 12:07:52 +00:00
|
|
|
|
2019-09-19 14:03:50 +00:00
|
|
|
# Register application
|
|
|
|
register_application("gnome-boxes");
|
2018-12-18 12:07:37 +00:00
|
|
|
# Close the application
|
|
|
|
quit_with_shortcut();
|
|
|
|
}
|
|
|
|
|
|
|
|
sub test_flags {
|
|
|
|
return {always_rollback => 1};
|
|
|
|
}
|
|
|
|
|
|
|
|
1;
|
|
|
|
|
|
|
|
# vim: set sw=4 et:
|