1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-21 21:43:08 +00:00

Reduce duplication of nautilus Documents directory needles

We had three. We only need one, matching on the sidebar entry,
which should be always visible.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-07-22 17:17:59 -07:00
parent dcda535db0
commit 84c6e18f14
19 changed files with 16 additions and 61 deletions

View File

@ -1,11 +1,11 @@
{
"area": [
{
"height": 20,
"type": "match",
"xpos": 202,
"width": 117,
"ypos": 163
"height": 20,
"width": 100,
"xpos": 16,
"ypos": 205
}
],
"properties": [],

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 35 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"type": "match",
"height": 20,
"width": 100,
"xpos": 16,
"ypos": 205
}
],
"properties": [],
"tags": [
"nautilus_directory_documents"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 235,
"height": 22,
"type": "match",
"width": 82,
"ypos": 162
}
],
"properties": [],
"tags": [
"nautilus_documents_folder"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 50 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 251,
"ypos": 165,
"width": 82,
"height": 22,
"type": "match"
}
],
"properties": [],
"tags": [
"nautilus_documents_folder"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

View File

@ -9,7 +9,7 @@ sub run {
my $self = shift;
# Enter the Documents directory to get to the test data.
assert_and_dclick("nautilus_directory_documents");
assert_and_click("nautilus_directory_documents");
# Click onto a file to select it.
assert_and_click("nautilus_test_file");

View File

@ -9,7 +9,7 @@ sub run {
my $self = shift;
# Enter the Documents directory to get to the test data.
assert_and_dclick("nautilus_directory_documents");
assert_and_click("nautilus_directory_documents");
wait_still_screen(2);
# Click on the Burger menu to open it

View File

@ -9,7 +9,7 @@ sub run {
my $self = shift;
# Enter the Documents directory to get to the test data.
assert_and_dclick("nautilus_directory_documents");
assert_and_click("nautilus_directory_documents");
# Click onto a file to select it.
assert_and_click("nautilus_test_file");

View File

@ -8,8 +8,8 @@ use utils;
sub run {
my $self = shift;
# Enter the Documents directory.
assert_and_dclick("nautilus_documents_folder", timeout => '30', button => 'left', mousehide => '1');
# Enter the Documents directory.
assert_and_click("nautilus_directory_documents", timeout => '30', button => 'left', mousehide => '1');
# Check that we are in the Documents directory.
assert_screen("nautilus_documents_active", timeout => '30', no_wait => '0');

View File

@ -9,7 +9,7 @@ sub run {
my $self = shift;
# Enter the Documents directory to get to the test data.
assert_and_dclick("nautilus_directory_documents");
assert_and_click("nautilus_directory_documents");
# Click onto a file to select it.
assert_and_click("nautilus_test_file");

View File

@ -9,7 +9,7 @@ sub run {
my $self = shift;
# Enter the Documents directory to get to the test data.
assert_and_dclick("nautilus_directory_documents");
assert_and_click("nautilus_directory_documents");
# Right click onto a file to select it and open the context menu
# for it.

View File

@ -9,7 +9,7 @@ sub run {
my $self = shift;
# Enter the Documents directory to get to the test data.
assert_and_dclick("nautilus_directory_documents");
assert_and_click("nautilus_directory_documents");
# Click on the Burger menu to open it
assert_and_click("gnome_burger_menu");

View File

@ -9,7 +9,7 @@ sub run {
my $self = shift;
# Enter the Documents directory to get to the test data.
assert_and_dclick("nautilus_directory_documents");
assert_and_click("nautilus_directory_documents");
# Click on the Burger menu to open it
assert_and_click("gnome_burger_menu");

View File

@ -9,7 +9,7 @@ sub run {
my $self = shift;
# Enter the Documents directory to get to the test data.
assert_and_dclick("nautilus_directory_documents");
assert_and_click("nautilus_directory_documents");
# Rigth click onto a file to open context menu.
assert_and_click("nautilus_test_file", button => "right");

View File

@ -9,7 +9,7 @@ sub run {
my $self = shift;
# Enter the Documents directory to get to the test data.
assert_and_dclick("nautilus_directory_documents");
assert_and_click("nautilus_directory_documents");
# Click onto a file to select it.
assert_and_click("nautilus_test_file");

View File

@ -9,7 +9,7 @@ sub run {
my $self = shift;
# Enter the Documents directory to get to the test data.
assert_and_dclick("nautilus_directory_documents");
assert_and_click("nautilus_directory_documents");
# Right click onto a file to select it to see the
# context menu.