Store shots: pass the relay to the app when signing in to an account
ci / vectors-head (push) Successful in 9s
ci / secret-sweep (push) Successful in 24s
ci / parity-scrub (push) Successful in 31s
ci / unit-tests (push) Failing after 1h1m40s
ci / ui-tests (push) Failing after 41m52s

Test launches default to http://127.0.0.1:9 so no suite reaches
production by accident. The shot test set -FNMSGServer only for a
throwaway sign-up, so signing in to a named account hit the dead
loopback and failed with "Could not connect to the server".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Paul Hitt
2026-10-20 13:34:55 -04:00
co-authored by Claude Opus 5.5
parent abd2a557e9
commit dda92223d6
+3 -1
View File
@@ -52,7 +52,9 @@ final class AppStoreShotsUITests: XCTestCase {
let app = XCUIApplication.underTest()
app.launchArguments = ["-FNMSGResetState"]
if !haveAccount {
// A test launch defaults to a dead loopback address so no suite
// reaches production by accident. The store set names its relay.
if !signUpRelay.isEmpty {
app.launchArguments += ["-FNMSGServer", signUpRelay]
}
app.launch()