Change Settings test due to change functionality.

This commit is contained in:
Lukas Ruzicka 2019-06-21 14:54:18 +02:00
parent 868fca87b3
commit 9e3b16bfcf
15 changed files with 2 additions and 132 deletions

View File

@ -1,15 +0,0 @@
{
"properties": [],
"tags": [
"apps_settings_black_select"
],
"area": [
{
"xpos": 863,
"ypos": 149,
"width": 50,
"height": 23,
"type": "match"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 KiB

View File

@ -1,15 +0,0 @@
{
"properties": [],
"tags": [
"apps_settings_black_visible"
],
"area": [
{
"xpos": 716,
"ypos": 462,
"width": 142,
"height": 86,
"type": "match"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 145 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"height": 27,
"xpos": 285,
"ypos": 481,
"type": "match",
"width": 90
}
],
"properties": [],
"tags": [
"apps_settings_choose_background"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 75 KiB

View File

@ -1,15 +0,0 @@
{
"properties": [],
"tags": [
"apps_settings_choose_background"
],
"area": [
{
"xpos": 419,
"ypos": 455,
"width": 105,
"height": 27,
"type": "match"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 176 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 610,
"type": "match",
"ypos": 158,
"height": 21,
"width": 47
}
],
"properties": [],
"tags": [
"apps_settings_choose_color"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 423 KiB

View File

@ -1,15 +0,0 @@
{
"properties": [],
"tags": [
"apps_settings_choose_color"
],
"area": [
{
"xpos": 616,
"ypos": 149,
"width": 47,
"height": 21,
"type": "match"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 465 KiB

View File

@ -1,16 +0,0 @@
{
"properties": [],
"tags": [
"apps_settings_screen_black",
"workspace"
],
"area": [
{
"xpos": 382,
"ypos": 280,
"width": 238,
"height": 171,
"type": "match"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 KiB

View File

@ -3,13 +3,8 @@ use strict;
use testapi;
use utils;
# This test tests that Settings starts and the it can be used to
# change the desktop settings.
# This test was originally used to set the virtual machine desktop
# to black to support other tests. This functionality has been taken
# by the Terminal test.
# You can put this test anywhere in the suite without any problems.
# This test tests that Settings starts
#
sub run {
my $self = shift;
# start the settings application
@ -20,26 +15,7 @@ sub run {
# select Background menu item
assert_and_click 'apps_settings_menu_background';
wait_still_screen 5;
assert_and_click 'apps_settings_choose_background';
wait_still_screen 5;
# select the Background color menu and move down until black is found, then click it.
assert_and_click 'apps_settings_choose_color';
wait_still_screen 5;
my $black_visible = 0;
while ($black_visible == 0) {
send_key 'down';
if (check_screen('apps_settings_black_visible', 1)) {
$black_visible = 1;
}
}
assert_and_click 'apps_settings_black_visible';
wait_still_screen 5;
# confirm the selection
assert_and_click 'apps_settings_black_select';
wait_still_screen 5;
# close the application
send_key 'alt-f4';
wait_still_screen 5;