diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ec3ed782..cab0dfc7d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -345,8 +345,10 @@ jobs: WARMBLY_TEST_DB: postgres://warmbly:warmbly@127.0.0.1:5432/warmbly_test?sslmode=disable run: | set -o pipefail + # pgTool takes any client at or above the server's major; newer runner images only ship a newer one. if [ ! -x /usr/lib/postgresql/16/bin/pg_dump ]; then - sudo apt-get update -q && sudo apt-get install -y -q postgresql-client-16 + sudo apt-get update -q + sudo apt-get install -y -q postgresql-client-16 || sudo apt-get install -y -q postgresql-client fi go test -race -v ./cmd/warmblyctl -run '^TestLiveBackupRestoreRoundTrip$' -count=1 | tee backup-restore.log grep -q -- '--- PASS: TestLiveBackupRestoreRoundTrip ' backup-restore.log diff --git a/qa/flows/buy-mailboxes.flow.ts b/qa/flows/buy-mailboxes.flow.ts index 18c77ab9b..de8375ad5 100644 --- a/qa/flows/buy-mailboxes.flow.ts +++ b/qa/flows/buy-mailboxes.flow.ts @@ -1,4 +1,5 @@ import { expect, test } from "../lib/proof.ts"; +import { env } from "../lib/env.ts"; // Runs against the store simulator (`GRAPHKIT_API_URL=fake`, the `make backend` default): any // domain label longer than four characters is available, and an order reaches ready in seconds. @@ -120,7 +121,7 @@ test("set three senders once, buy two domains with a mailbox per sender, and wat const track = page.getByRole("list", { name: "Setup steps" }); await expect(reauth.or(track)).toBeVisible({ timeout: 30_000 }); if (await reauth.isVisible()) { - await reauth.getByRole("textbox", { name: "Password" }).pressSequentially(process.env.QA_PASSWORD ?? "password123", { delay: 40 }); + await reauth.getByRole("textbox", { name: "Password" }).pressSequentially(env.password, { delay: 40 }); await proof.shot("reauth", { caption: "Paying asks for a fresh sign-in, like every money change in Warmbly" }); await reauth.getByRole("button", { name: "Confirm" }).click(); }