Compare commits
No commits in common. "bc7915a0eec477be8bdfe7cbf820ba774efe4429" and "110927e29205eaca9aa85db27738eeaceec5529a" have entirely different histories.
bc7915a0ee
...
110927e292
@ -68,6 +68,14 @@ sub check_application_information {
|
|||||||
# you need to start it before running this.
|
# you need to start it before running this.
|
||||||
sub install_application {
|
sub install_application {
|
||||||
my ($application, $source) = @_;
|
my ($application, $source) = @_;
|
||||||
|
# Sometimes, especially when this method is used several
|
||||||
|
# times in a row, Software can be located on the
|
||||||
|
# installation tab and we need to leave it until
|
||||||
|
# we can proceed.
|
||||||
|
if (check_screen("software_back_button")) {
|
||||||
|
click_lastmatch();
|
||||||
|
}
|
||||||
|
|
||||||
# For some applications, there are more installation sources
|
# For some applications, there are more installation sources
|
||||||
# available. Pick the desired one.
|
# available. Pick the desired one.
|
||||||
if (check_screen("software_sources_available", timeout => 5)) {
|
if (check_screen("software_sources_available", timeout => 5)) {
|
||||||
@ -88,10 +96,6 @@ sub install_application {
|
|||||||
$wait_time = 1200;
|
$wait_time = 1200;
|
||||||
}
|
}
|
||||||
assert_screen("gnome_button_open", timeout => $wait_time);
|
assert_screen("gnome_button_open", timeout => $wait_time);
|
||||||
# After the installation, return to the previous page.
|
|
||||||
if (check_screen("software_back_button")) {
|
|
||||||
click_lastmatch();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# This subroutine opens the $application using Gnome Software.
|
# This subroutine opens the $application using Gnome Software.
|
||||||
@ -123,6 +127,12 @@ sub start_application_via_packagemanager {
|
|||||||
# application has been found (or it will fail).
|
# application has been found (or it will fail).
|
||||||
sub check_app_installed {
|
sub check_app_installed {
|
||||||
my $application = shift;
|
my $application = shift;
|
||||||
|
# It is possible that we still find ourselves in the Installation
|
||||||
|
# pane. In that case, the Installed button is not visible, therefore
|
||||||
|
# we need to go back in the GUI if this is the sitation.
|
||||||
|
unless (check_screen("software_installed_button")) {
|
||||||
|
assert_and_click("software_back_button");
|
||||||
|
}
|
||||||
# Look for the application and confirm that it is listed as installed
|
# Look for the application and confirm that it is listed as installed
|
||||||
# in the application overview.
|
# in the application overview.
|
||||||
assert_and_click("gnome_search_button");
|
assert_and_click("gnome_search_button");
|
||||||
|
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 94,
|
|
||||||
"ypos": 510,
|
|
||||||
"width": 140,
|
|
||||||
"height": 24,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_application_amarok"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 81 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 393,
|
|
||||||
"ypos": 613,
|
|
||||||
"width": 181,
|
|
||||||
"height": 29,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_application_chess"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 74 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 398,
|
|
||||||
"ypos": 498,
|
|
||||||
"width": 121,
|
|
||||||
"height": 25,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_application_clocks"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 71 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 209,
|
|
||||||
"ypos": 478,
|
|
||||||
"width": 61,
|
|
||||||
"height": 22,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_category_create"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 69 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 503,
|
|
||||||
"ypos": 560,
|
|
||||||
"width": 58,
|
|
||||||
"height": 24,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_category_learn"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 64 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 803,
|
|
||||||
"ypos": 478,
|
|
||||||
"width": 45,
|
|
||||||
"height": 22,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_category_play"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 65 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 505,
|
|
||||||
"ypos": 473,
|
|
||||||
"width": 58,
|
|
||||||
"height": 29,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_category_work"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 65 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"width": 160,
|
|
||||||
"type": "match",
|
|
||||||
"xpos": 338,
|
|
||||||
"ypos": 201,
|
|
||||||
"height": 20
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_credits"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 72 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 97,
|
|
||||||
"ypos": 726,
|
|
||||||
"width": 349,
|
|
||||||
"height": 23,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_description_amarok"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 217 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 98,
|
|
||||||
"ypos": 723,
|
|
||||||
"width": 255,
|
|
||||||
"height": 23,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_description_chess"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 79 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 98,
|
|
||||||
"ypos": 726,
|
|
||||||
"width": 252,
|
|
||||||
"height": 26,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_description_clocks"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 45 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 148,
|
|
||||||
"ypos": 641,
|
|
||||||
"width": 107,
|
|
||||||
"height": 70,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_download_size_amarok"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 179 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 144,
|
|
||||||
"ypos": 634,
|
|
||||||
"width": 114,
|
|
||||||
"height": 76,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_download_size_chess"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 69 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 154,
|
|
||||||
"ypos": 640,
|
|
||||||
"width": 96,
|
|
||||||
"height": 70,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_download_size_clocks"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 33 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 99,
|
|
||||||
"ypos": 103,
|
|
||||||
"width": 128,
|
|
||||||
"height": 131,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_logo_amarok"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 217 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 109,
|
|
||||||
"ypos": 109,
|
|
||||||
"width": 101,
|
|
||||||
"height": 117,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_logo_chess"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 79 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 106,
|
|
||||||
"ypos": 109,
|
|
||||||
"width": 118,
|
|
||||||
"height": 119,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_logo_clocks"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 45 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"width": 111,
|
|
||||||
"type": "match",
|
|
||||||
"ypos": 162,
|
|
||||||
"height": 19,
|
|
||||||
"xpos": 857
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_menu_about"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 72 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 778,
|
|
||||||
"ypos": 641,
|
|
||||||
"width": 85,
|
|
||||||
"height": 71,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_rating_amarok"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 179 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 783,
|
|
||||||
"ypos": 639,
|
|
||||||
"width": 79,
|
|
||||||
"height": 76,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_rating_chess"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 69 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 786,
|
|
||||||
"ypos": 642,
|
|
||||||
"width": 76,
|
|
||||||
"height": 68,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_rating_clocks"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 33 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 383,
|
|
||||||
"ypos": 642,
|
|
||||||
"width": 51,
|
|
||||||
"height": 68,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_safestatus_amarok"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 179 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 385,
|
|
||||||
"ypos": 638,
|
|
||||||
"width": 47,
|
|
||||||
"height": 76,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_safestatus_chess"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 69 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 378,
|
|
||||||
"ypos": 638,
|
|
||||||
"width": 60,
|
|
||||||
"height": 73,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_safestatus_clocks"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 33 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 171,
|
|
||||||
"ypos": 262,
|
|
||||||
"width": 267,
|
|
||||||
"height": 157,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_screenshot_amarok"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 217 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 381,
|
|
||||||
"ypos": 324,
|
|
||||||
"width": 260,
|
|
||||||
"height": 136,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_screenshot_chess"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 79 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 371,
|
|
||||||
"ypos": 256,
|
|
||||||
"width": 275,
|
|
||||||
"height": 120,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_screenshot_clocks"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 45 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 565,
|
|
||||||
"ypos": 643,
|
|
||||||
"width": 105,
|
|
||||||
"height": 67,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_usage_amarok"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 179 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 563,
|
|
||||||
"ypos": 637,
|
|
||||||
"width": 101,
|
|
||||||
"height": 75,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_usage_chess"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 69 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 570,
|
|
||||||
"ypos": 642,
|
|
||||||
"width": 87,
|
|
||||||
"height": 70,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_usage_clocks"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 33 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 209,
|
|
||||||
"ypos": 185,
|
|
||||||
"width": 269,
|
|
||||||
"height": 33,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_webcontent_amarok"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 133 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 102,
|
|
||||||
"ypos": 504,
|
|
||||||
"width": 228,
|
|
||||||
"height": 22,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_webcontent_chess"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 88 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 194,
|
|
||||||
"ypos": 528,
|
|
||||||
"width": 541,
|
|
||||||
"height": 28,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_webcontent_clocks"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 125 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 242,
|
|
||||||
"ypos": 86,
|
|
||||||
"width": 164,
|
|
||||||
"height": 23,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_weblink_amarok"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 133 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 240,
|
|
||||||
"ypos": 85,
|
|
||||||
"width": 248,
|
|
||||||
"height": 22,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_weblink_chess"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 88 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 238,
|
|
||||||
"ypos": 85,
|
|
||||||
"width": 332,
|
|
||||||
"height": 24,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_weblink_clocks"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 125 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 526,
|
|
||||||
"ypos": 273,
|
|
||||||
"width": 164,
|
|
||||||
"height": 43,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_website_amarok"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 67 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 530,
|
|
||||||
"ypos": 544,
|
|
||||||
"width": 223,
|
|
||||||
"height": 42,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_website_chess"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 54 KiB |
@ -1,15 +0,0 @@
|
|||||||
{
|
|
||||||
"area": [
|
|
||||||
{
|
|
||||||
"xpos": 530,
|
|
||||||
"ypos": 526,
|
|
||||||
"width": 295,
|
|
||||||
"height": 40,
|
|
||||||
"type": "match"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"properties": [],
|
|
||||||
"tags": [
|
|
||||||
"software_website_clocks"
|
|
||||||
]
|
|
||||||
}
|
|
Before Width: | Height: | Size: 52 KiB |
@ -25,10 +25,10 @@ sub run {
|
|||||||
assert_and_click("gnome_back_button");
|
assert_and_click("gnome_back_button");
|
||||||
}
|
}
|
||||||
|
|
||||||
# Open the Play category.
|
# Open the Learn category.
|
||||||
assert_and_click("software_category_work");
|
assert_and_click("software_category_learn");
|
||||||
assert_and_click("software_application_clocks");
|
assert_and_click("software_application_octave");
|
||||||
check_application_information("clocks");
|
check_application_information("octave");
|
||||||
# Come back to the main screen
|
# Come back to the main screen
|
||||||
while (! check_screen("gnome_search_button")) {
|
while (! check_screen("gnome_search_button")) {
|
||||||
assert_and_click("gnome_back_button");
|
assert_and_click("gnome_back_button");
|
||||||
|
@ -15,9 +15,6 @@ sub run {
|
|||||||
restart_application("software");
|
restart_application("software");
|
||||||
}
|
}
|
||||||
|
|
||||||
# Find the application
|
|
||||||
find_application("inkscape");
|
|
||||||
|
|
||||||
# Install the application using Flatpak
|
# Install the application using Flatpak
|
||||||
install_application("inkscape", "flatpak");
|
install_application("inkscape", "flatpak");
|
||||||
|
|
||||||
|
@ -24,11 +24,8 @@ sub run {
|
|||||||
restart_application("software");
|
restart_application("software");
|
||||||
}
|
}
|
||||||
# Perform all installations one after another.
|
# Perform all installations one after another.
|
||||||
find_application("mahjongg");
|
|
||||||
install_application("mahjongg", "rpm");
|
install_application("mahjongg", "rpm");
|
||||||
find_application("gvim");
|
|
||||||
install_application("gvim", "rpm");
|
install_application("gvim", "rpm");
|
||||||
find_application("emacs");
|
|
||||||
install_application("emacs", "rpm");
|
install_application("emacs", "rpm");
|
||||||
|
|
||||||
# Check that the installations have completed successfully.
|
# Check that the installations have completed successfully.
|
@ -18,9 +18,12 @@ sub run {
|
|||||||
my $self = shift;
|
my $self = shift;
|
||||||
|
|
||||||
unless (get_var("SUBVARIANT") eq "Silverblue") {
|
unless (get_var("SUBVARIANT") eq "Silverblue") {
|
||||||
|
# Sometimes, after rollback, Software crashes. If it
|
||||||
|
# happens, let's restart it.
|
||||||
|
unless (check_screen("apps_run_software")) {
|
||||||
|
restart_application("software");
|
||||||
|
}
|
||||||
|
|
||||||
# Find the application.
|
|
||||||
find_application("mahjongg");
|
|
||||||
# Install the application.
|
# Install the application.
|
||||||
install_application("mahjongg", "rpm");
|
install_application("mahjongg", "rpm");
|
||||||
wait_still_screen(10);
|
wait_still_screen(10);
|
||||||
|
@ -6,9 +6,8 @@ use desktoptools;
|
|||||||
|
|
||||||
# This script tests if Software can browse through various applications.
|
# This script tests if Software can browse through various applications.
|
||||||
|
|
||||||
# The concept of this is to look for applications using the Search function.
|
# As we cannot browse through all of the applications, we will only focus
|
||||||
# We are not going to check for metadata anymore, as this would require
|
# on three application, for example KTurtle, IDLE3, and Midori.
|
||||||
# another set of needles.
|
|
||||||
|
|
||||||
sub run {
|
sub run {
|
||||||
my $self = shift;
|
my $self = shift;
|
||||||
@ -16,16 +15,19 @@ sub run {
|
|||||||
# Find KTurtle and check for its details,
|
# Find KTurtle and check for its details,
|
||||||
# use a keyword.
|
# use a keyword.
|
||||||
find_application("educational");
|
find_application("educational");
|
||||||
|
check_application_information("educational");
|
||||||
assert_and_click("gnome_back_button");
|
assert_and_click("gnome_back_button");
|
||||||
|
|
||||||
# Find IDLE3 and check for its details,
|
# Find IDLE3 and check for its details,
|
||||||
# use a name.
|
# use a name.
|
||||||
find_application("idle3");
|
find_application("idle3");
|
||||||
|
check_application_information("idle3");
|
||||||
assert_and_click("gnome_back_button");
|
assert_and_click("gnome_back_button");
|
||||||
|
|
||||||
# Find Midori and check for its details
|
# Find Midori and check for its details
|
||||||
# use a category.
|
# use a category.
|
||||||
find_application("browser");
|
find_application("browser");
|
||||||
|
check_application_information("browser");
|
||||||
assert_and_click("gnome_back_button");
|
assert_and_click("gnome_back_button");
|
||||||
}
|
}
|
||||||
|
|
||||||
|