update tests+sigs
[os-autoinst:os-autoinst.git] / x11test.d / 420_ooffice.pm
1 use base "basetest";
2 use bmwqemu;
3
4 sub is_applicable()
5 {
6         return $ENV{DESKTOP}=~/kde|gnome/;
7 }
8
9 sub run()
10 {
11         my $self=shift;
12         x11_start_program("oowriter");
13         sleep 2; waitidle; # extra wait because oo sometimes appears to be idle during start
14         $self->take_screenshot;
15         sendkey "alt-f4"; sleep 2;
16 }
17
18 sub checklist()
19 {
20         # return hashref:
21         return {qw(
22                 a5fbe661f892c38c5069bf3430cac25b OK
23                 190acc3807f1f613aae461f805473e02 OK
24                 b4d6d76baae4254e0e01140bed1614e3 OK
25                 cab8e1d51a429d42ad922c88a786d591 OK
26                 bd32d2896fe9ee327724bce46ffe32be OK
27                 6edae3afba71dd93f7615791af5e4912 OK
28                 6491e203e83083d77b603853dde03f5c OK
29                 6e2f20a265525ef64a777ade0d29bc95 OK
30                 1aa2225b803c4712e2213d8639131b2c minorissue64bit
31         )}
32 }
33
34 1;