#378 Replace Evince and Videos for Papers and Showtime in Rawhide.
Merged 2 months ago by adamwill. Opened 2 months ago by lruzicka.

needles/gnome/apps/apps_menu_papers-20250424.json needles/gnome/apps/apps_menu_dviewer-20200316.json
file renamed
+14 -14
@@ -1,15 +1,15 @@ 

- {

-   "properties": [],

-   "tags": [

-     "apps_menu_dviewer"

-   ],

-   "area": [

-     {

-       "xpos": 577,

-       "ypos": 476,

-       "width": 47,

-       "height": 52,

-       "type": "match"

-     }

-   ]

+ {

+   "area": [

+     {

+       "width": 80,

+       "type": "match",

+       "xpos": 471,

+       "ypos": 220,

+       "height": 94

+     }

+   ],

+   "properties": [],

+   "tags": [

+     "apps_menu_papers"

+   ]

  } 

\ No newline at end of file

empty or binary file added
@@ -0,0 +1,15 @@ 

+ {

+   "area": [

+     {

+       "width": 33,

+       "xpos": 545,

+       "height": 32,

+       "type": "match",

+       "ypos": 405

+     }

+   ],

+   "properties": [],

+   "tags": [

+     "apps_menu_utilities"

+   ]

+ } 

\ No newline at end of file

@@ -0,0 +1,22 @@ 

+ {

+   "area": [

+     {

+       "xpos": 483,

+       "ypos": 112,

+       "width": 58,

+       "height": 20,

+       "type": "match"

+     },

+     {

+       "xpos": 396,

+       "ypos": 434,

+       "width": 233,

+       "height": 25,

+       "type": "match"

+     }

+   ],

+   "properties": [],

+   "tags": [

+     "apps_run_papers"

+   ]

+ } 

\ No newline at end of file

empty or binary file added
@@ -4,15 +4,17 @@ 

  use utils;

  

  # This test checks that Document Viewer starts.

+ # Before Workstation Rawhide (43), that application was represented

+ # by Evince, now it is being replaced with Papers.

  

  sub run {

      my $self = shift;

      # Start the application

-     start_with_launcher('apps_menu_dviewer', 'apps_menu_utilities');

-     # Check that is started

-     assert_screen 'apps_run_dviewer';

-     # Register application

-     register_application("evince");

+     start_with_launcher('apps_menu_papers', 'apps_menu_utilities');

+     # Check that is has started

+     assert_screen('apps_run_papers');

+     # Register the application into the list

+     register_application('papers');

      # Close the application

      quit_with_shortcut();

  }

@@ -8,6 +8,7 @@ 

  sub run {

      my $self = shift;

      my $subvariant = get_var("SUBVARIANT", "Workstation");

+     my $version = get_var("VERSION");

  

      if ($subvariant ne "Silverblue") {

          # Start the application
@@ -15,7 +16,12 @@ 

          # Check that is started

          assert_screen 'apps_run_videos';

          # Register application

-         register_application("totem");

+         if ($version eq "Rawhide") {

+             register_application("showtime");

+         }

+         else {

+             register_application("totem");

+         }

          # Close the application

          quit_with_shortcut();

      }

Fedora Rawhide (to be 43) has new applications that replace
the older ones, namely Papers replacing Evince and Showtime
replacing the Totem.

We are adding a condition to run correct applications on Rawhide
while retaining the older applications for a while until the change
has been made in whole.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/375

I don't think it's really worth retaining the conditional for evince...once https://pagure.io/pungi-fedora/pull-request/1482 is merged it would only be used for respin testing and we don't really need to worry about that too much, it's just a courtesy thing.

Ok, then I will not retain it.

1 new commit added

  • Do not retain routine for Evince.
2 months ago

rebased onto 3d84dae

2 months ago
Unused needle(s) found!
/workspace/src/pagure.io/fedora-qa/os-autoinst-distri-fedora/needles/gnome/apps/apps_menu_dviewer-20200316.json

rebased onto 3d84dae

2 months ago

rebased onto 3d84dae

2 months ago

rebased onto 3d84dae

2 months ago

rebased onto 37338a2

2 months ago

rebased onto 37338a2

2 months ago

Pull-Request has been merged by adamwill

2 months ago