Skip to content

Commit

Permalink
LPD-35779 Use variable instead of writing the URL twice.
Browse files Browse the repository at this point in the history
  • Loading branch information
ethib137 authored and brianchandotcom committed Sep 17, 2024
1 parent ebc2d1d commit fa5d016
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit fa5d016

Please sign in to comment.