1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-08-15 04:45:45 +00:00

navigation/play_video: update for showtime

Video player in Rawhide changed from Totem to Showtime, so we'd
better update for that.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2025-04-22 15:27:47 -07:00
parent d17e7d7b3f
commit 5fdc716c32
29 changed files with 96 additions and 147 deletions

View File

@ -0,0 +1,15 @@
{
"area": [
{
"height": 23,
"type": "match",
"width": 76,
"xpos": 309,
"ypos": 295
}
],
"properties": [],
"tags": [
"gnome_filedialogue_video_select"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 76,
"xpos": 85,
"ypos": 466,
"height": 19,
"type": "match"
}
],
"properties": [],
"tags": [
"gnome_filedialogue_videos"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"height": 22,
"width": 37,
"type": "match",
"xpos": 959,
"ypos": 45
}
],
"properties": [],
"tags": [
"video_add_button"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 962,
"ypos": 45,
"width": 37,
"height": 22,
"type": "match"
}
],
"properties": [],
"tags": [
"video_add_button"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 51 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"width": 131,
"height": 20,
"ypos": 105,
"xpos": 29,
"type": "match"
}
],
"properties": [],
"tags": [
"video_add_local_video"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 73 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 26,
"ypos": 105,
"width": 107,
"height": 20,
"type": "match"
}
],
"properties": [],
"tags": [
"video_add_local_video"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 14,
"ypos": 44,
"width": 22,
"height": 22,
"type": "match"
}
],
"properties": [],
"tags": [
"video_add_video"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"xpos": 420,
"ypos": 630,
"type": "match",
"height": 37,
"width": 114
}
],
"properties": [],
"tags": [
"video_first_stop"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 80,
"xpos": 803,
"type": "match",
"height": 62,
"ypos": 277
}
],
"properties": [],
"tags": [
"video_fullscreen_off"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 542 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 30,
"height": 278,
"ypos": 102,
"type": "match",
"width": 251
}
],
"properties": [],
"tags": [
"video_grid_shown"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"ypos": 105,
"width": 251,
"height": 278,
"type": "match",
"xpos": 29
}
],
"properties": [],
"tags": [
"video_grid_shown"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

View File

@ -1,15 +0,0 @@
{
"area": [
{
"xpos": 30,
"ypos": 103,
"width": 251,
"height": 278,
"type": "match"
}
],
"properties": [],
"tags": [
"video_grid_shown"
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

View File

@ -0,0 +1,15 @@
{
"area": [
{
"width": 64,
"xpos": 445,
"ypos": 230,
"type": "match",
"height": 84
}
],
"properties": [],
"tags": [
"video_second_stop"
]
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 345 KiB

View File

@ -1,15 +1,15 @@
{ {
"area": [ "area": [
{ {
"height": 21, "height": 21,
"width": 47, "type": "match",
"type": "match", "width": 40,
"xpos": 871, "xpos": 873,
"ypos": 631 "ypos": 631
} }
], ],
"properties": [], "properties": [],
"tags": [ "tags": [
"gnome_button_open" "gnome_button_open"
] ]
} }

View File

@ -20,8 +20,8 @@ sub run {
$self->root_console(tty => 3); $self->root_console(tty => 3);
if ($canned) { if ($canned) {
assert_script_run('flatpak install -y net.sourceforge.ExtremeTuxRacer', timeout => 300); assert_script_run('flatpak install -y net.sourceforge.ExtremeTuxRacer', timeout => 300);
# On Silverblue, Totem is not installed by default. Install it. # On Silverblue, Showtime is not installed by default. Install it.
assert_script_run('flatpak install -y org.gnome.Totem', timeout => 300); assert_script_run('flatpak install -y org.gnome.Showtime', timeout => 300);
} }
else { else {
assert_script_run("dnf install -y extremetuxracer", timeout => 180); assert_script_run("dnf install -y extremetuxracer", timeout => 180);

View File

@ -9,22 +9,16 @@ use utils;
sub run { sub run {
my $self = shift; my $self = shift;
# Start the Video player # Start the Video player
menu_launch_type("videos"); menu_launch_type("video");
assert_screen("apps_run_videos"); assert_screen("apps_run_videos");
# The Video player should start with a grid view # The Video player should start with a grid view
# of videos, check that it runs and that the # of videos, check that it runs and that the
# video is displayed in that view or we will add # video is displayed in that view or we will add
# the video to the grid. # the video to the grid.
unless (check_screen("video_grid_shown", 10)) { assert_and_click("gnome_button_open");
assert_and_click("video_add_video"); assert_and_click("gnome_filedialogue_videos");
assert_and_click("video_add_local_video"); assert_and_click("gnome_filedialogue_video_select");
wait_still_screen(3); assert_and_click("gnome_button_open");
assert_and_click("gnome_filedialogue_videos");
assert_and_click("video_add_button");
}
assert_screen("video_grid_shown");
# We will start the Video by clicking on the icon
click_lastmatch();
# The Video should not start in the full screen mode # The Video should not start in the full screen mode
# therefore, we check for panel controls. # therefore, we check for panel controls.
assert_screen("panel_controls"); assert_screen("panel_controls");