From 3638adda812f6ed0b2ec8d5a1a2384711a194f27 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Mon, 15 May 2017 18:00:51 -0700 Subject: [PATCH] Tweak kernel patch needle to avoid raw patch files Seems like the top '[patch]' link on kernel.org may now be a raw patch file which the browser just displays, not a compressed patch it offers to download. So tweak the needle so we should click on the *bottom* link instead. openQA looks for matches as close as possible to the location in the needle. --- needles/browser/kernelorg_patch.json | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/needles/browser/kernelorg_patch.json b/needles/browser/kernelorg_patch.json index 5de186c1..f7c9b28d 100644 --- a/needles/browser/kernelorg_patch.json +++ b/needles/browser/kernelorg_patch.json @@ -1,15 +1,15 @@ -{ - "properties": [], - "area": [ - { - "xpos": 506, - "ypos": 527, - "width": 55, - "height": 18, - "type": "match" - } - ], - "tags": [ - "browser_kernelorg_patch" - ] +{ + "area": [ + { + "height": 18, + "type": "match", + "width": 55, + "xpos": 506, + "ypos": 707 + } + ], + "properties": [], + "tags": [ + "browser_kernelorg_patch" + ] } \ No newline at end of file