mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 13:33:08 +00:00
Fix nautilus hidden_files test with Nautilus 47
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
80236fdb9b
commit
1cbb7ba2af
19
needles/gnome/apps/nautilus/nautilus_view_menu-20240820.json
Normal file
19
needles/gnome/apps/nautilus/nautilus_view_menu-20240820.json
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"area": [
|
||||||
|
{
|
||||||
|
"height": 23,
|
||||||
|
"width": 47,
|
||||||
|
"xpos": 927,
|
||||||
|
"type": "match",
|
||||||
|
"ypos": 44,
|
||||||
|
"click_point": {
|
||||||
|
"xpos": 38.5,
|
||||||
|
"ypos": 12.5
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"properties": [],
|
||||||
|
"tags": [
|
||||||
|
"nautilus_view_menu"
|
||||||
|
]
|
||||||
|
}
|
BIN
needles/gnome/apps/nautilus/nautilus_view_menu-20240820.png
Normal file
BIN
needles/gnome/apps/nautilus/nautilus_view_menu-20240820.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 66 KiB |
@ -9,7 +9,13 @@ sub toggle_hidden {
|
|||||||
# Toggle hidden files using keyboard short cut or menu.
|
# Toggle hidden files using keyboard short cut or menu.
|
||||||
my $type = shift;
|
my $type = shift;
|
||||||
if ($type eq "menu") {
|
if ($type eq "menu") {
|
||||||
assert_and_click("gnome_burger_menu");
|
my $relnum = get_release_number;
|
||||||
|
if ($relnum > 40) {
|
||||||
|
assert_and_click("nautilus_view_menu");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
assert_and_click("gnome_burger_menu");
|
||||||
|
}
|
||||||
wait_still_screen(2);
|
wait_still_screen(2);
|
||||||
assert_and_click("nautilus_toggle_hidden_files", timeout => '30', button => 'left', mousehide => '1');
|
assert_and_click("nautilus_toggle_hidden_files", timeout => '30', button => 'left', mousehide => '1');
|
||||||
sleep(10);
|
sleep(10);
|
||||||
|
Loading…
Reference in New Issue
Block a user