From d065974cc6bb41c6c73d8ba9627b9df6fbf05591 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 4 Dec 2020 11:33:00 -0800 Subject: [PATCH] apps_run_terminal: match window area too Just matching the Overview entry isn't really enough, the app hasn't really run yet. This makes the test more robust and also helps out on aarch64 desktop tests where the app window takes a long time to appear. Signed-off-by: Adam Williamson --- .../apps/apps_run_terminal-20200605.json | 35 +++++++++++-------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/needles/gnome/apps/apps_run_terminal-20200605.json b/needles/gnome/apps/apps_run_terminal-20200605.json index dddb141c..024b3e72 100644 --- a/needles/gnome/apps/apps_run_terminal-20200605.json +++ b/needles/gnome/apps/apps_run_terminal-20200605.json @@ -1,15 +1,22 @@ -{ - "area": [ - { - "type": "match", - "height": 22, - "ypos": 4, - "width": 83, - "xpos": 129 - } - ], - "properties": [], - "tags": [ - "apps_run_terminal" - ] +{ + "area": [ + { + "height": 22, + "type": "match", + "width": 83, + "xpos": 129, + "ypos": 4 + }, + { + "height": 20, + "type": "match", + "width": 25, + "xpos": 195, + "ypos": 125 + } + ], + "properties": [], + "tags": [ + "apps_run_terminal" + ] } \ No newline at end of file