From 43548145ba2c4ad402046a630d69db539076094c Mon Sep 17 00:00:00 2001 From: Alfonso Noriega Date: Mon, 13 Jul 2026 12:46:42 +0200 Subject: [PATCH] Keep hot reload E2E scopes valid --- packages/e2e/tests/dev-hot-reload.spec.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/e2e/tests/dev-hot-reload.spec.ts b/packages/e2e/tests/dev-hot-reload.spec.ts index fc115685c79..8a6d2d2c68b 100644 --- a/packages/e2e/tests/dev-hot-reload.spec.ts +++ b/packages/e2e/tests/dev-hot-reload.spec.ts @@ -62,10 +62,11 @@ test.describe('Dev hot reload', () => { try { await proc.waitForOutput(READY_MESSAGE, CLI_TIMEOUT.medium) - // Edit scopes in the TOML to trigger a reload + // Edit a harmless URL field in the TOML to trigger a reload without + // invalidating the fixture's webhook scope requirements. const tomlPath = path.join(appDir, 'shopify.app.toml') const original = fs.readFileSync(tomlPath, 'utf8') - const patched = updateTomlValues(original, [[['access_scopes', 'scopes'], 'read_products,write_products']]) + const patched = updateTomlValues(original, [[['application_url'], 'https://example.com/updated']]) fs.writeFileSync(tomlPath, patched) await proc.waitForOutput('App config updated', CLI_TIMEOUT.medium)