[openqa-needles] gnome_desktop: Shrink match area slightly



commit 078e51a1d04d183da7326f33cc6dafc3fdf45ef3
Author: Sam Thursfield <sam afuera me uk>
Date:   Fri Aug 13 10:36:28 2021 +0200

    gnome_desktop: Shrink match area slightly
    
    Trying to match the entire screen would give an 0% match, logging an
    error in the autoinst-log.txt file:
    
        ERROR - search: out of range 769 768 1024 1024

 gnome_desktop_desktop-20210812.2.json | 8 ++++----
 gnome_desktop_desktop-20210812.json   | 8 ++++----
 gnome_desktop_desktop.json            | 8 ++++----
 3 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/gnome_desktop_desktop-20210812.2.json b/gnome_desktop_desktop-20210812.2.json
index 31c03b2..63379fa 100644
--- a/gnome_desktop_desktop-20210812.2.json
+++ b/gnome_desktop_desktop-20210812.2.json
@@ -29,10 +29,10 @@
       "type": "exclude"
     },
     {
-      "xpos": 1,
+      "xpos": 2,
       "ypos": 2,
-      "width": 1023,
-      "height": 767,
+      "width": 1022,
+      "height": 766,
       "type": "match"
     }
   ],
@@ -40,4 +40,4 @@
   "tags": [
     "gnome_desktop_desktop"
   ]
-}
\ No newline at end of file
+}
diff --git a/gnome_desktop_desktop-20210812.json b/gnome_desktop_desktop-20210812.json
index d561908..21cf4b0 100644
--- a/gnome_desktop_desktop-20210812.json
+++ b/gnome_desktop_desktop-20210812.json
@@ -16,9 +16,9 @@
     },
     {
       "xpos": 1,
-      "ypos": 2,
-      "width": 1022,
-      "height": 766,
+      "ypos": 1,
+      "width": 1023,
+      "height": 767,
       "type": "match",
       "match": 90
     }
@@ -27,4 +27,4 @@
   "tags": [
     "gnome_desktop_desktop"
   ]
-}
\ No newline at end of file
+}
diff --git a/gnome_desktop_desktop.json b/gnome_desktop_desktop.json
index bd06711..4bc6c24 100644
--- a/gnome_desktop_desktop.json
+++ b/gnome_desktop_desktop.json
@@ -8,10 +8,10 @@
       "type": "exclude"
     },
     {
-      "xpos": 0,
-      "ypos": 0,
-      "width": 1024,
-      "height": 768,
+      "xpos": 2,
+      "ypos": 2,
+      "width": 1022,
+      "height": 766,
       "type": "match",
       "match": 95
     }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]