From 10ce3168a2d96b74efe90284f9b9257c3e598c7f Mon Sep 17 00:00:00 2001 From: Nicolas Clerc Date: Wed, 11 Dec 2024 14:48:46 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8(backend)=20separate=20app=20run=20?= =?UTF-8?q?from=20start=20tunnel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When we start a localtunnel, we don't want to rerun the full stack everytime. --- Makefile | 1 - src/frontend/admin/playwright-ct.config.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e465a3fa7..7d5325ac0 100644 --- a/Makefile +++ b/Makefile @@ -347,7 +347,6 @@ clean: ## restore repository state as it was freshly cloned .PHONY: clean tunnel: ## Run a proxy through localtunnel - @$(MAKE) run @echo npx localtunnel -s $(LOCALTUNNEL_SUBDOMAIN) -h $(LOCALTUNNEL_HOST) --port $(LOCALTUNNEL_PORT) --print-requests .PHONY: tunnel diff --git a/src/frontend/admin/playwright-ct.config.ts b/src/frontend/admin/playwright-ct.config.ts index 45372a226..735b582ed 100644 --- a/src/frontend/admin/playwright-ct.config.ts +++ b/src/frontend/admin/playwright-ct.config.ts @@ -19,7 +19,7 @@ export default defineConfig({ /* Opt out of parallel tests on CI. */ workers: process.env.CI ? 1 : undefined, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ - reporter: "html", + reporter: "list", testMatch: "**/*.spec.e2e.?(c|m)[jt]s?(x)", /* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */