Files
simplex-chat/scripts/ci/ui-tests/install-bin.sh
T
Narasimha-sc 69b3cc4f0e ui tests: about 300 more tests across all areas, server control, relays, remote desktop, CI workflow
- Tests for connection plans, prepared chats, edit/delete/selection, forwarding, drafts, group preferences and admission, group lifecycle, compose, live messages, item info, reports and moderation, privacy and SimpleX Lock, chat data and database, address and contact preferences, profiles, contact info, unread and search, files and reactions, group info and events, chat shell and statuses, joining, support and business chats, settings and appearance, network and servers, channels, remote desktop, Android intents and notifications.
- Harness: server stop/start, smp2/xftp2, SOCKS stub, CLI chat relays, CLI remote host/controller, chat scroll and drag helpers, file chooser answers, clipboard in popups.
- ui-tests workflow (manual dispatch only) running both suites on GitHub runners.
- App findings recorded in plan section 15.5 (items 7-23), each covered by a test marked @KnownAppIssue.
2026-10-22 19:45:11 +00:00

24 lines
700 B
Bash
Executable File

#!/bin/bash
# Unpacks the CLI and uitest-servers from build-bin.sh into <dir>, checks that the runner has their libraries, and puts
# UITEST_CLI and UITEST_SERVERS in GITHUB_ENV, where apps/multiplatform/scripts/uitest.sh uses them instead of building.
# Usage: scripts/ci/ui-tests/install-bin.sh <bin .tar.gz> <dir>
set -euo pipefail
mkdir -p "$2"
dir=$(cd "$2" && pwd)
tar -C "$dir" -xzf "$1"
ls -la "$dir"
if ldd "$dir/simplex-chat" "$dir/uitest-servers" | grep 'not found'; then
echo "error: the executables need these libraries"
exit 1
fi
if [ -n "${GITHUB_ENV:-}" ]; then
{
echo "UITEST_CLI=$dir/simplex-chat"
echo "UITEST_SERVERS=$dir/uitest-servers"
} >> "$GITHUB_ENV"
fi