From 66c64ee1992af08794569df6e28379ee0536febf Mon Sep 17 00:00:00 2001 From: Kevin Ingersoll Date: Fri, 12 Apr 2024 20:13:56 +0900 Subject: [PATCH] test: reduce e2e CI logs (#2646) --- e2e/packages/contracts/.env | 1 - e2e/packages/sync-test/setup/startBrowserAndPage.ts | 2 +- e2e/packages/sync-test/setup/startIndexer.ts | 2 +- e2e/packages/test-data/generateLogs.ts | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/e2e/packages/contracts/.env b/e2e/packages/contracts/.env index 5941f0e227..cc220e7518 100644 --- a/e2e/packages/contracts/.env +++ b/e2e/packages/contracts/.env @@ -3,4 +3,3 @@ # Anvil default private key: PRIVATE_KEY=0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 VITE_CHAIN_ID=31337 -DEBUG=mud:* diff --git a/e2e/packages/sync-test/setup/startBrowserAndPage.ts b/e2e/packages/sync-test/setup/startBrowserAndPage.ts index 9cbced06a0..f5c860fb28 100644 --- a/e2e/packages/sync-test/setup/startBrowserAndPage.ts +++ b/e2e/packages/sync-test/setup/startBrowserAndPage.ts @@ -9,7 +9,7 @@ export async function startBrowserAndPage( const page = await browser.newPage(); await page.addInitScript(() => { - window.localStorage.setItem("debug", "mud:*"); + window.localStorage.setItem("debug", "mud:store-sync:createStoreSync"); }); // log uncaught errors in the browser page (browser and test consoles are separate) diff --git a/e2e/packages/sync-test/setup/startIndexer.ts b/e2e/packages/sync-test/setup/startIndexer.ts index 164f373e3e..ac0d3f9a55 100644 --- a/e2e/packages/sync-test/setup/startIndexer.ts +++ b/e2e/packages/sync-test/setup/startIndexer.ts @@ -31,7 +31,7 @@ export async function startIndexer(opts: StartIndexerOptions) { }); const env = { - DEBUG: "mud:*", + DEBUG: "mud:store-sync:createStoreSync", PORT: opts.port.toString(), CHAIN_ID: "31337", RPC_HTTP_URL: opts.rpcHttpUrl, diff --git a/e2e/packages/test-data/generateLogs.ts b/e2e/packages/test-data/generateLogs.ts index ba855efe61..c884066e17 100644 --- a/e2e/packages/test-data/generateLogs.ts +++ b/e2e/packages/test-data/generateLogs.ts @@ -38,7 +38,7 @@ export async function generateLogs( cwd: "../contracts", stdio: "pipe", env: { - DEBUG: "mud:*", + DEBUG: "mud:store-sync:createStoreSync", }, }); if (stderr) console.error(stderr);