Recreate needles to make them check different area.

This commit adjusts the area that needles look for to avoid checking
based on a menu item that has disappeared from the system.
This commit is contained in:
Lukas Ruzicka 2019-01-28 11:03:56 +01:00
parent b6cf28715a
commit c97c23d485
32 changed files with 132 additions and 177 deletions

View File

@ -1,15 +0,0 @@
{
"properties": [],
"tags": [
"apps_run_cheese"
],
"area": [
{
"xpos": 116,
"ypos": 5,
"width": 52,
"height": 19,
"type": "match"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

View File

@ -8,7 +8,7 @@
"xpos": 447, "xpos": 447,
"ypos": 41, "ypos": 41,
"width": 133, "width": 133,
"height": 23, "height": 21,
"type": "match" "type": "match"
} }
] ]

View File

@ -5,9 +5,9 @@
], ],
"area": [ "area": [
{ {
"xpos": 117, "xpos": 452,
"ypos": 4, "ypos": 110,
"width": 117, "width": 118,
"height": 23, "height": 23,
"type": "match" "type": "match"
} }

View File

@ -5,10 +5,10 @@
], ],
"area": [ "area": [
{ {
"xpos": 115, "xpos": 517,
"ypos": 5, "ypos": 532,
"width": 47, "width": 113,
"height": 19, "height": 20,
"type": "match" "type": "match"
} }
] ]

View File

@ -5,10 +5,10 @@
], ],
"area": [ "area": [
{ {
"xpos": 117, "xpos": 424,
"ypos": 4, "ypos": 515,
"width": 72, "width": 20,
"height": 22, "height": 17,
"type": "match" "type": "match"
} }
] ]

View File

@ -5,10 +5,10 @@
], ],
"area": [ "area": [
{ {
"xpos": 114, "xpos": 612,
"ypos": 5, "ypos": 42,
"width": 66, "width": 42,
"height": 20, "height": 19,
"type": "match" "type": "match"
} }
] ]

View File

@ -5,9 +5,9 @@
], ],
"area": [ "area": [
{ {
"xpos": 115, "xpos": 195,
"ypos": 5, "ypos": 627,
"width": 79, "width": 126,
"height": 21, "height": 21,
"type": "match" "type": "match"
} }

View File

@ -1,15 +1,15 @@
{ {
"area": [ "area": [
{ {
"height": 17, "xpos": 488,
"xpos": 115, "ypos": 382,
"ypos": 5, "width": 52,
"width": 49, "height": 50,
"type": "match" "type": "match"
} }
], ],
"properties": [], "properties": [],
"tags": [ "tags": [
"apps_run_clocks" "apps_run_clocks"
] ]
} }

View File

@ -5,10 +5,10 @@
], ],
"area": [ "area": [
{ {
"xpos": 117, "xpos": 457,
"ypos": 5, "ypos": 71,
"width": 112, "width": 65,
"height": 23, "height": 21,
"type": "match" "type": "match"
} }
] ]

View File

@ -5,10 +5,10 @@
], ],
"area": [ "area": [
{ {
"xpos": 116, "xpos": 256,
"ypos": 4, "ypos": 139,
"width": 42, "width": 82,
"height": 20, "height": 22,
"type": "match" "type": "match"
} }
] ]

View File

@ -5,10 +5,10 @@
], ],
"area": [ "area": [
{ {
"xpos": 115, "xpos": 445,
"ypos": 6, "ypos": 40,
"width": 80, "width": 138,
"height": 20, "height": 22,
"type": "match" "type": "match"
} }
] ]

View File

@ -5,10 +5,10 @@
], ],
"area": [ "area": [
{ {
"xpos": 114, "xpos": 412,
"ypos": 5, "ypos": 39,
"width": 83, "width": 79,
"height": 19, "height": 23,
"type": "match" "type": "match"
} }
] ]

View File

@ -5,10 +5,10 @@
], ],
"area": [ "area": [
{ {
"xpos": 115, "xpos": 446,
"ypos": 5, "ypos": 71,
"width": 127, "width": 132,
"height": 20, "height": 21,
"type": "match" "type": "match"
} }
] ]

View File

@ -1,15 +1,15 @@
{ {
"properties": [], "properties": [],
"tags": [ "tags": [
"apps_run_evolution_warning" "apps_run_evolution_warning"
], ],
"area": [ "area": [
{ {
"xpos": 688, "xpos": 691,
"ypos": 644, "ypos": 645,
"width": 32, "width": 26,
"height": 19, "height": 19,
"type": "match" "type": "match"
} }
] ]
} }

View File

@ -5,10 +5,10 @@
], ],
"area": [ "area": [
{ {
"xpos": 116, "xpos": 157,
"ypos": 6, "ypos": 87,
"width": 37, "width": 67,
"height": 17, "height": 22,
"type": "match" "type": "match"
} }
] ]

View File

@ -5,10 +5,10 @@
], ],
"area": [ "area": [
{ {
"xpos": 116, "xpos": 467,
"ypos": 5, "ypos": 40,
"width": 35, "width": 92,
"height": 21, "height": 22,
"type": "match" "type": "match"
} }
] ]

View File

@ -5,10 +5,10 @@
], ],
"area": [ "area": [
{ {
"xpos": 116, "xpos": 461,
"ypos": 5, "ypos": 122,
"width": 96, "width": 102,
"height": 21, "height": 20,
"type": "match" "type": "match"
} }
] ]

View File

@ -5,10 +5,10 @@
], ],
"area": [ "area": [
{ {
"xpos": 117, "xpos": 573,
"ypos": 5, "ypos": 36,
"width": 35, "width": 34,
"height": 20, "height": 19,
"type": "match" "type": "match"
} }
] ]

View File

@ -5,10 +5,10 @@
], ],
"area": [ "area": [
{ {
"xpos": 114, "xpos": 52,
"ypos": 5, "ypos": 41,
"width": 44, "width": 23,
"height": 21, "height": 20,
"type": "match" "type": "match"
} }
] ]

View File

@ -1,15 +1,15 @@
{ {
"area": [ "area": [
{ {
"xpos": 117, "xpos": 489,
"ypos": 3, "ypos": 141,
"width": 107, "width": 51,
"height": 24, "height": 19,
"type": "match" "type": "match"
} }
], ],
"properties": [], "properties": [],
"tags": [ "tags": [
"apps_run_monitor" "apps_run_monitor"
] ]
} }

View File

@ -5,10 +5,10 @@
], ],
"area": [ "area": [
{ {
"xpos": 116, "xpos": 157,
"ypos": 6, "ypos": 86,
"width": 37, "width": 67,
"height": 17, "height": 23,
"type": "ocr" "type": "ocr"
} }
] ]

View File

@ -5,10 +5,10 @@
], ],
"area": [ "area": [
{ {
"xpos": 115, "xpos": 458,
"ypos": 4, "ypos": 338,
"width": 51, "width": 111,
"height": 20, "height": 89,
"type": "match" "type": "match"
} }
] ]

View File

@ -5,9 +5,9 @@
], ],
"area": [ "area": [
{ {
"xpos": 115, "xpos": 128,
"ypos": 4, "ypos": 98,
"width": 82, "width": 115,
"height": 21, "height": 21,
"type": "match" "type": "match"
} }

View File

@ -5,10 +5,10 @@
], ],
"area": [ "area": [
{ {
"xpos": 115, "xpos": 104,
"ypos": 6, "ypos": 41,
"width": 62, "width": 61,
"height": 20, "height": 21,
"type": "ocr" "type": "ocr"
} }
] ]

View File

@ -5,10 +5,10 @@
], ],
"area": [ "area": [
{ {
"xpos": 115, "xpos": 345,
"ypos": 5, "ypos": 150,
"width": 66, "width": 66,
"height": 19, "height": 17,
"type": "match" "type": "match"
} }
] ]

View File

@ -5,10 +5,10 @@
], ],
"area": [ "area": [
{ {
"xpos": 115, "xpos": 501,
"ypos": 5, "ypos": 39,
"width": 81, "width": 71,
"height": 18, "height": 21,
"type": "match" "type": "match"
} }
] ]

View File

@ -5,10 +5,10 @@
], ],
"area": [ "area": [
{ {
"xpos": 115, "xpos": 440,
"ypos": 5, "ypos": 43,
"width": 51, "width": 51,
"height": 20, "height": 17,
"type": "match" "type": "match"
} }
] ]

View File

@ -5,10 +5,10 @@
], ],
"area": [ "area": [
{ {
"xpos": 114, "xpos": 386,
"ypos": 5, "ypos": 401,
"width": 66, "width": 56,
"height": 19, "height": 18,
"type": "match" "type": "match"
} }
] ]

View File

@ -9,7 +9,7 @@ sub run {
my $self = shift; my $self = shift;
# Start the application # Start the application
start_with_launcher('apps_menu_calculator'); start_with_launcher('apps_menu_calculator', 'apps_menu_utilities');
# Check that it is started # Check that it is started
assert_screen 'apps_run_calculator'; assert_screen 'apps_run_calculator';
# Close the application # Close the application

View File

@ -8,7 +8,7 @@ use utils;
sub run { sub run {
my $self = shift; my $self = shift;
# Start the application # Start the application
start_with_launcher('apps_menu_dviewer'); start_with_launcher('apps_menu_dviewer', 'apps_menu_utilities');
# Check that is started # Check that is started
assert_screen 'apps_run_dviewer'; assert_screen 'apps_run_dviewer';
# Close the application # Close the application

View File

@ -1,30 +0,0 @@
use base "installedtest";
use strict;
use testapi;
use utils;
# This test checks that Evolution starts.
sub run {
my $self = shift;
# Start the application
start_with_launcher('apps_menu_evolution');
# get rid of the welcome screen
if ('apps_run_evolution_warning') {
assert_and_click 'apps_run_evolution_warning';
}
assert_and_click 'apps_run_evolution_welcome';
wait_still_screen 2;
# Check that is started
assert_screen 'apps_run_evolution';
# Close the application
quit_with_shortcut();
}
sub test_flags {
return {always_rollback => 1};
}
1;
# vim: set sw=4 et: