From 8ce8a7fe65cfa394b4b084f0a994d53dd694653f Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Jul 25 2022 23:50:17 +0000 Subject: clocks/world: search for "Reykjav" not "Reykjavik" The city is called Reykjavík (note the í). Previously our search worked because the search function also looked in the name of the timezone, and the *timezone* name is "Atlantic/Reykjavik" - i.e. it's really Latin-ized in the name of the timezone. However, upstream intentionally stopped including the timezone name in search matches: https://gitlab.gnome.org/GNOME/gnome-clocks/-/merge_requests/199 so that doesn't work any more. Just searching for "Reykjav" should solve the problem. Signed-off-by: Adam Williamson --- diff --git a/tests/applications/clocks/world.pm b/tests/applications/clocks/world.pm index b910682..b362378 100644 --- a/tests/applications/clocks/world.pm +++ b/tests/applications/clocks/world.pm @@ -31,7 +31,7 @@ sub run { # Add a new location using the keyboard shortcut send_key("ctrl-n"); wait_still_screen(2); - type_very_safely("Reykjavik"); + type_very_safely("Reykjav"); assert_and_click("gnome_city_button_reykjavik"); assert_and_click("gnome_add_button_blue"); assert_screen("clocks_city_added_reykjavik");