From a75228fd3483323fe96c2c4265aeb678e740cd65 Mon Sep 17 00:00:00 2001 From: Francisco Solla Date: Sun, 9 Aug 2026 16:53:46 -0300 Subject: [PATCH] test(C98): detect CI=true (GitHub Actions) for the prod-mode e2e skip MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit GitHub Actions injects CI=true (not CI=1), so the full feed flow ran on the prod build in CI and the create failed with 'NEXT_PUBLIC_SITE_URL precisa usar HTTPS em produção.' — the canonical fail-closed rejecting the localhost test env. Accept '1' and 'true'. --- tests/e2e/campaignAgendaFeed.e2e.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/campaignAgendaFeed.e2e.spec.ts b/tests/e2e/campaignAgendaFeed.e2e.spec.ts index e7697c24..7124ebc4 100644 --- a/tests/e2e/campaignAgendaFeed.e2e.spec.ts +++ b/tests/e2e/campaignAgendaFeed.e2e.spec.ts @@ -11,7 +11,7 @@ import { campaignPageChrome, expect, test } from './fixtures/campaignE2EFixtures * filterless feed content via the C93 int tests; the e2e here pins the real * end-to-end flow on the dev server. */ -const isProdMode = process.env.E2E_PROD === '1' || process.env.CI === '1' +const isProdMode = ['1', 'true'].includes(process.env.E2E_PROD ?? '') || ['1', 'true'].includes(process.env.CI ?? '') test.describe('Agenda — link de import (C98)', () => { test.setTimeout(90_000)