From dc26703118ec950230fe4a4bb32f981acf0153e9 Mon Sep 17 00:00:00 2001 From: spacedandy-agents-simplex <342056592+spacedandy-agents-simplex@users.noreply.github.com> Date: Thu, 15 Oct 2026 17:56:09 +0000 Subject: [PATCH] ci: close the desktop New chat sheet with its back arrow, and check the whole chat list on the way back --- scripts/ci/desktop-linux/smoke-test.sh | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/scripts/ci/desktop-linux/smoke-test.sh b/scripts/ci/desktop-linux/smoke-test.sh index 09b7364af6..98f0688114 100755 --- a/scripts/ci/desktop-linux/smoke-test.sh +++ b/scripts/ci/desktop-linux/smoke-test.sh @@ -340,18 +340,25 @@ new_chat_sheet_search() { check "New chat: \"Directory\" header above #ci_channel" above "Directory" "#ci_channel" check "New chat: Names, then Directory, from the search field up" \ in_order "Directory" "#ci_channel" "Names" "ci_contact" "Search in Directory" + # with the toolbar at the bottom Escape only clears the sheet's search; its back arrow closes it + "$ui" key Escape + "$ui" wait "Create group" 10 + "$ui" click 27 730 back_to_chat_list || fail "no chat list after the New chat sheet" } # Escape closes one screen at a time, and clears the search field back_to_chat_list() { for _ in 1 2 3 4 5 6; do - if not_on_screen "Settings" && not_on_screen "Chat preferences" && not_on_screen "Network" && not_on_screen "New chat" && on_screen "Search or paste SimpleX link"; then - return 0 - fi + on_chat_list && return 0 "$ui" key Escape done - on_screen "Search or paste SimpleX link" + on_chat_list +} + +# New chat has the same search field +on_chat_list() { + not_on_screen "Settings" && not_on_screen "Chat preferences" && not_on_screen "Network" && not_on_screen "New chat" && on_screen "Search or paste SimpleX link" } # Opens Settings from the user menu, behind the profile picture at the left of the bottom toolbar.