1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-12-22 10:23:09 +00:00

Remove nautilus side panel test and associated needles

The show/hide side panel functionality was intentionally removed
in version 43-beta:

https://gitlab.gnome.org/GNOME/nautilus/-/issues/2427

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2022-08-16 08:53:42 -04:00
parent 5f3b8e7ae3
commit 8479cb979f
11 changed files with 0 additions and 137 deletions

View File

@ -1,15 +0,0 @@
{
"area": [
{
"ypos": 330,
"height": 22,
"type": "match",
"width": 97,
"xpos": 825
}
],
"properties": [],
"tags": [
"nautilus_show_sidebar"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 43 KiB

View File

@ -1,15 +0,0 @@
{
"properties": [],
"tags": [
"nautilus_show_sidebar"
],
"area": [
{
"xpos": 843,
"ypos": 234,
"width": 97,
"height": 22,
"type": "match"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"type": "match",
"height": 294,
"width": 117,
"xpos": 5,
"ypos": 127
}
],
"properties": [],
"tags": [
"nautilus_side_panel"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 11,
"width": 117,
"height": 294,
"ypos": 129,
"type": "match"
}
],
"properties": [],
"tags": [
"nautilus_side_panel"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

View File

@ -1,15 +0,0 @@
{
"properties": [],
"tags": [
"nautilus_side_panel"
],
"area": [
{
"xpos": 5,
"ypos": 127,
"width": 117,
"height": 294,
"type": "match"
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

View File

@ -1,62 +0,0 @@
use base "installedtest";
use strict;
use testapi;
use utils;
# Toggle and untoggle the side panel.
sub run {
my $self = shift;
# It seems that the following checks run so quickly that the tested
# virtual machine is unable to properly reload from the previous test
# and it keeps failing.
# Let's give it some time to settle.
sleep(5);
my $side_panel = 0;
if (check_screen("nautilus_side_panel")) {
$side_panel = 1;
}
# Switch off the side panel
send_key("f9");
wait_still_screen(2);
# Recheck if side panel is visible
my $off_panel = 0;
if (check_screen("nautilus_side_panel")) {
$off_panel = 1;
}
# Compare the results, they should be different.
if ($off_panel == $side_panel) {
die("The side panel visibility should have been toggled and it is not. That indicates that the keyboard shortcut to toggle it does not work properly.");
}
# Use menu to toggle the side panel back.
assert_and_click("gnome_burger_menu");
wait_still_screen(2);
assert_and_click("nautilus_show_sidebar");
wait_still_screen(2);
# Recheck if side panel is visible
if (check_screen("nautilus_side_panel")) {
$off_panel = 1;
}
# Compare the results. If everything has been ok until now, the values should not be different.
if ($off_panel != $side_panel) {
die("The side panel visibility should have been toggled back, but it has not been. That indicates that the menu item to toggle it does not work properly.");
}
}
sub test_flags {
# Rollback to the previous state to make space for other parts.
return {always_rollback => 1};
}
1;