From f67bcef9f76cb8c5b3a8076b53561bb589676ecc Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Fri, 15 Jul 2022 11:15:52 -0700 Subject: [PATCH] g-t-e: extend sleep in one test, add in another aarch64 looks like it often needs more time to settle after restoring from snapshot before trying a key combo. Signed-off-by: Adam Williamson --- tests/applications/gnome-text-editor/new_file.pm | 2 +- tests/applications/gnome-text-editor/show_shortcuts.pm | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/applications/gnome-text-editor/new_file.pm b/tests/applications/gnome-text-editor/new_file.pm index fa683eab..30f0a019 100644 --- a/tests/applications/gnome-text-editor/new_file.pm +++ b/tests/applications/gnome-text-editor/new_file.pm @@ -11,7 +11,7 @@ sub run { my $self = shift; # First we will use key combo to open the new document window. - sleep 2; + sleep 5; send_key("ctrl-t"); assert_screen "gte_new_document_opened"; diff --git a/tests/applications/gnome-text-editor/show_shortcuts.pm b/tests/applications/gnome-text-editor/show_shortcuts.pm index 92eb39a6..de67d028 100644 --- a/tests/applications/gnome-text-editor/show_shortcuts.pm +++ b/tests/applications/gnome-text-editor/show_shortcuts.pm @@ -7,7 +7,9 @@ use utils; sub run { my $self = shift; - + # wait for snapshot restore to settle + sleep 5; + # Open Shortcuts. send_key("ctrl-?");