diff --git a/modules/test/playwright/tests/client-extension-web/js.spec.ts b/modules/test/playwright/tests/client-extension-web/js.spec.ts index 5b353a90ff4c2a..6ab2619f0f28db 100644 --- a/modules/test/playwright/tests/client-extension-web/js.spec.ts +++ b/modules/test/playwright/tests/client-extension-web/js.spec.ts @@ -78,7 +78,7 @@ testInstanceScoped( 'Assert that the instance scoped client extensions are injected into site pages, site control panel pages, and instance control panel pages', async ({clientExtensionsPage, page, styleBooksPage}) => { const scriptLocator = page.locator( - `script[src="/o/liferay-sample-global-js-3/global.8c51c23d2fbc94a8abfa.js"]` + `script[src="${SAMPLES[2].url}"]` ); await testInstanceScoped.step(