Skip to content

initial Nala unity tests#12

Open
sirivuri wants to merge 18 commits intostagefrom
MWPW-181330-unity-verbs-changes-nala-test
Open

initial Nala unity tests#12
sirivuri wants to merge 18 commits intostagefrom
MWPW-181330-unity-verbs-changes-nala-test

Conversation

@sirivuri
Copy link
Collaborator

@sirivuri sirivuri commented Nov 4, 2025

Description

Initial NALA tests for Unity block

Related Issue

Resolves: MWPW-181330

Step-3 is failing because of x_api_client_id not returning 'unity' on my local. Will be connecting with Santosh to check who can help me with this

@aem-code-sync
Copy link

aem-code-sync bot commented Nov 4, 2025

Hello, I'm the AEM Code Sync Bot and I will run some actions to deploy your branch and validate page speed.
In case there are problems, just click a checkbox below to rerun the respective action.

  • Re-run PSI checks
  • Re-sync branch
Commits

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

eslint

🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise is not supported in op_mini all

window.milo.deferredPromise = new Promise((resolve) => {
config.resolveDeferred = resolve;
});


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

const { pathname, search, hash } = new URL(url);


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
fetch is not supported in op_mini all

const response = await fetch(`${getFederatedContentRoot()}/federal/assets/data/languages-config.json`);


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

const url = new URL(href);


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

const canonUrl = new URL(canonEl.href);


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

try { url = new URL(href, PAGE_URL); } catch (e) { /* do nothing */ }


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

const linkUrl = new URL(href.startsWith('http') ? href : `${PAGE_URL.origin}${href}`);


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise is not supported in op_mini all

export const loadScript = (url, type, { mode } = {}) => new Promise((resolve, reject) => {
let script = document.querySelector(`head > script[src="${url}"]`);
if (!script) {
const { head } = document;
script = document.createElement('script');
script.setAttribute('src', url);
if (type) {
script.setAttribute('type', type);
}
if (['async', 'defer'].includes(mode)) script.setAttribute(mode, true);
head.append(script);
}
if (script.dataset.loaded) {
resolve(script);
return;
}
const onScript = (event) => {
script.removeEventListener('load', onScript);
script.removeEventListener('error', onScript);
if (event.type === 'error') {
reject(new Error(`error loading script: ${script.src}`));
} else if (event.type === 'load') {
script.dataset.loaded = true;
resolve(script);
}
};
script.addEventListener('load', onScript);
script.addEventListener('error', onScript);
});


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise is not supported in op_mini all

const styleLoaded = new Promise((resolve) => {
loadStyle(`${base}/templates/${name}/${name}.css`, resolve);
});


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise is not supported in op_mini all

const scriptLoaded = new Promise((resolve) => {
(async () => {
try {
await import(`${base}/templates/${name}/${name}.js`);
} catch (err) {
console.log(`failed to load module for ${name}`, err);
}
resolve();
})();
});


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.all() is not supported in op_mini all

await Promise.all([styleLoaded, scriptLoaded]);


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise is not supported in op_mini all

const styleLoaded = hasStyles && new Promise((resolve) => {
loadStyle(`${blockPath}.css`, resolve);
});


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise is not supported in op_mini all

const scriptLoaded = new Promise((resolve) => {
(async () => {
try {
const { default: init } = await import(`${blockPath}.js`);
await init(block);
block.dataset.blockStatus = 'loaded';
} catch (err) {
console.log(`Failed loading ${name}`, err);
const config = getConfig();
if (config.env.name !== 'prod') {
const { showError } = await import('../blocks/fallback/fallback.js');
showError(block, name);
}
}
resolve();
})();
});


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../blocks/fallback/fallback.js'.

const { showError } = await import('../blocks/fallback/fallback.js');


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.all() is not supported in op_mini all

await Promise.all([styleLoaded, scriptLoaded]);


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

const authoredUrl = new URL(splitText.shift().trim());


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

? new URL(`${window.location.origin}${a.href}`)


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

: new URL(a.href);


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

const url = new URL(source.trim());


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module './image-video-link.js'.

import('./image-video-link.js').then((mod) => mod.default(picParent, aTag, icon));


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

url = new URL(a.href);


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

const convertedUrl = new URL(convertedLink);


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/branch-quick-links/branch-quick-links.js'.

const { default: processQuickLink } = await import('../features/branch-quick-links/branch-quick-links.js');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/dynamic-navigation/dynamic-navigation.js'.

const { default: dynamicNav } = await import('../features/dynamic-navigation/dynamic-navigation.js');


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URLSearchParams is not supported in op_mini all

let newNavEnabled = new URLSearchParams(window.location.search).get('newNav');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/icons/icons.js'.

const { default: loadIcons } = await import('../features/icons/icons.js');


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
fetch is not supported in op_mini all

return fetch(resource, options);


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.all() is not supported in op_mini all

placeholderRequest ||= Promise.all(


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/placeholders.js'.

const { decoratePlaceholderArea } = await import('../features/placeholders.js');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/footer-promo.js'.

const { default: initFooterPromo } = await import('../features/footer-promo.js');


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise is not supported in op_mini all

imsLoaded = imsLoaded || new Promise((resolve, reject) => {
const {
locale, imsClientId, imsScope, env, base, adobeid, imsTimeout,
} = getConfig();
if (!imsClientId) {
reject(new Error('Missing IMS Client ID'));
return;
}
const [unavMeta, ahomeMeta] = [getMetadata('universal-nav')?.trim(), getMetadata('adobe-home-redirect')];
const defaultScope = `AdobeID,openid,gnav${unavMeta && unavMeta !== 'off' ? ',pps.read,firefly_api,additional_info.roles,read_organizations,account_cluster.read' : ''}`;
const timeout = setTimeout(() => reject(new Error('IMS timeout')), imsTimeout || 5000);
window.adobeid = {
client_id: imsClientId,
scope: imsScope || defaultScope,
locale: locale?.ietf?.replace('-', '_') || 'en_US',
redirect_uri: ahomeMeta === 'on'
? `https://www${env.name !== 'prod' ? '.stage' : ''}.adobe.com${locale.prefix}` : undefined,
autoValidateToken: true,
environment: env.ims,
useLocalStorage: false,
onReady: () => {
resolve();
clearTimeout(timeout);
},
onError: reject,
...adobeid,
};
const path = PAGE_URL.searchParams.get('useAlternateImsDomain')
? 'https://auth.services.adobe.com/imslib/imslib.min.js'
: `${base}/deps/imslib.min.js`;
loadScript(path);
}).then(() => {


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../martech/martech.js'.

const { default: initMartech } = await import('../martech/martech.js');


🚫 [eslint] <ecmalist/no-object-fromentries> reported by reviewdog 🐶
For op_mob 73.0.0: ES2019 'Object.fromEntries' method is forbidden.

} = Object.fromEntries(PAGE_URL.searchParams);


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/georoutingv2/georoutingv2.js'.

const { getAkamaiCode } = await import('../features/georoutingv2/georoutingv2.js');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../martech/helpers.js'.

const { loadAnalyticsAndInteractionData } = await import('../martech/helpers.js');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/personalization/personalization.js'.

const { init } = await import('../features/personalization/personalization.js');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module './favicon.js'.

import('./favicon.js').then(({ default: loadFavIcon }) => loadFavIcon(createTag, getConfig(), getMetadata));


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module './sidekick-decorate.js'.

if (sk) import('./sidekick-decorate.js').then((mod) => { mod.default(sk); });


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/personalization/personalization.js'.

const { init } = await import('../features/personalization/personalization.js');


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.resolve() is not supported in op_mini all

config.georouting = { loadedPromise: Promise.resolve() };


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/georoutingv2/georoutingv2.js'.

const { default: loadGeoRouting } = await import('../features/georoutingv2/georoutingv2.js');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module './fonts.js'.

const { default: loadFonts } = await import('./fonts.js');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/personalization/personalization.js'.

import('../features/personalization/personalization.js')


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../scripts/delayed.js'.

import('../scripts/delayed.js').then(({ loadPrivacy }) => {


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/links.js'.

import('../features/links.js').then((mod) => mod.default(path, area));


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/japanese-word-wrap.js'.

import('../features/japanese-word-wrap.js').then(({ default: controlJapaneseLineBreaks }) => {


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module './logWebVitals.js'.

import('./logWebVitals.js')


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/personalization/preview.js'.

import('../features/personalization/preview.js')


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/dynamic-navigation/status.js'.

const { default: loadDNStatus } = await import('../features/dynamic-navigation/status.js');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module './sidekick.js'.

const { default: init } = await import('./sidekick.js');


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

const url = new URL(meta.content);


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../blocks/modal/modal.js'.

const { findDetails, getModal } = await import('../blocks/modal/modal.js');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module './injectblock.js'.

import('./injectblock.js').then((module) => module.default(injectBlock));


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../scripts/accessibility.js'.

import('../scripts/accessibility.js').then((accessibility) => {


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/seotech/seotech.js'.

import('../features/seotech/seotech.js').then((module) => module.default(


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/richresults.js'.

const { default: addRichResults } = await import('../features/richresults.js');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../scripts/delayed.js'.

const { default: delayed } = await import('../scripts/delayed.js');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../martech/attributes.js'.

import('../martech/attributes.js').then((analytics) => {


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise is not supported in op_mini all

return hasStyles && new Promise((resolve) => { loadStyle(`${blockPath}.css`, resolve); });


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../blocks/fragment/fragment.js'.

const { default: loadInlineFrags } = await import('../blocks/fragment/fragment.js');


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.all() is not supported in op_mini all

await Promise.all(fragPromises);


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.all() is not supported in op_mini all

await Promise.all([


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.all() is not supported in op_mini all

await Promise.all(loadBlocks);


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
IntersectionObserver is not supported in op_mini all, KaiOS 2.5

const io = new IntersectionObserver((entries, observer) => {
entries.forEach(async (entry) => {
if (entry.isIntersecting) {
if (once) observer.unobserve(entry.target);
callback(entry.target, entry);
}
});
}, options);


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module './lana.js'.

await import('./lana.js');

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <object-curly-newline> reported by reviewdog 🐶
Unexpected line break after this opening brace.

block.dispatchEvent(new CustomEvent('unity:track-analytics', {

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <object-curly-newline> reported by reviewdog 🐶
Unexpected line break before this closing brace.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

const PAGE_URL = new URL(window.location.href);

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <ecmalist/no-object-fromentries> reported by reviewdog 🐶
For op_mob 73.0.0: ES2019 'Object.fromEntries' method is forbidden.

const { martech } = Object.fromEntries(PAGE_URL.searchParams);

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise is not supported in op_mini all

const entPromise = new Promise((resolve) => {
entResolve = resolve;
});

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

eslint

🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.all() is not supported in op_mini all

await Promise.all([styleLoaded, scriptLoaded]);


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise is not supported in op_mini all

const styleLoaded = hasStyles && new Promise((resolve) => {
loadStyle(`${blockPath}.css`, resolve);
});


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise is not supported in op_mini all

const scriptLoaded = new Promise((resolve) => {
(async () => {
try {
const { default: init } = await import(`${blockPath}.js`);
await init(block);
block.dataset.blockStatus = 'loaded';
} catch (err) {
console.log(`Failed loading ${name}`, err);
const config = getConfig();
if (config.env.name !== 'prod') {
const { showError } = await import('../blocks/fallback/fallback.js');
showError(block, name);
}
}
resolve();
})();
});


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../blocks/fallback/fallback.js'.

const { showError } = await import('../blocks/fallback/fallback.js');


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.all() is not supported in op_mini all

await Promise.all([styleLoaded, scriptLoaded]);


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

const authoredUrl = new URL(splitText.shift().trim());


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

? new URL(`${window.location.origin}${a.href}`)


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

: new URL(a.href);


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

const url = new URL(source.trim());


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module './image-video-link.js'.

import('./image-video-link.js').then((mod) => mod.default(picParent, aTag, icon));


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

url = new URL(a.href);


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

const convertedUrl = new URL(convertedLink);


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/branch-quick-links/branch-quick-links.js'.

const { default: processQuickLink } = await import('../features/branch-quick-links/branch-quick-links.js');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/dynamic-navigation/dynamic-navigation.js'.

const { default: dynamicNav } = await import('../features/dynamic-navigation/dynamic-navigation.js');


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URLSearchParams is not supported in op_mini all

let newNavEnabled = new URLSearchParams(window.location.search).get('newNav');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/icons/icons.js'.

const { default: loadIcons } = await import('../features/icons/icons.js');


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
fetch is not supported in op_mini all

return fetch(resource, options);


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.all() is not supported in op_mini all

placeholderRequest ||= Promise.all(


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/placeholders.js'.

const { decoratePlaceholderArea } = await import('../features/placeholders.js');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/footer-promo.js'.

const { default: initFooterPromo } = await import('../features/footer-promo.js');


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise is not supported in op_mini all

imsLoaded = imsLoaded || new Promise((resolve, reject) => {
const {
locale, imsClientId, imsScope, env, base, adobeid, imsTimeout,
} = getConfig();
if (!imsClientId) {
reject(new Error('Missing IMS Client ID'));
return;
}
const [unavMeta, ahomeMeta] = [getMetadata('universal-nav')?.trim(), getMetadata('adobe-home-redirect')];
const defaultScope = `AdobeID,openid,gnav${unavMeta && unavMeta !== 'off' ? ',pps.read,firefly_api,additional_info.roles,read_organizations,account_cluster.read' : ''}`;
const timeout = setTimeout(() => reject(new Error('IMS timeout')), imsTimeout || 5000);
window.adobeid = {
client_id: imsClientId,
scope: imsScope || defaultScope,
locale: locale?.ietf?.replace('-', '_') || 'en_US',
redirect_uri: ahomeMeta === 'on'
? `https://www${env.name !== 'prod' ? '.stage' : ''}.adobe.com${locale.prefix}` : undefined,
autoValidateToken: true,
environment: env.ims,
useLocalStorage: false,
onReady: () => {
resolve();
clearTimeout(timeout);
},
onError: reject,
...adobeid,
};
const path = PAGE_URL.searchParams.get('useAlternateImsDomain')
? 'https://auth.services.adobe.com/imslib/imslib.min.js'
: `${base}/deps/imslib.min.js`;
loadScript(path);
}).then(() => {


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../martech/martech.js'.

const { default: initMartech } = await import('../martech/martech.js');


🚫 [eslint] <ecmalist/no-object-fromentries> reported by reviewdog 🐶
For op_mob 73.0.0: ES2019 'Object.fromEntries' method is forbidden.

} = Object.fromEntries(PAGE_URL.searchParams);


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/georoutingv2/georoutingv2.js'.

const { getAkamaiCode } = await import('../features/georoutingv2/georoutingv2.js');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../martech/helpers.js'.

const { loadAnalyticsAndInteractionData } = await import('../martech/helpers.js');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/personalization/personalization.js'.

const { init } = await import('../features/personalization/personalization.js');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module './favicon.js'.

import('./favicon.js').then(({ default: loadFavIcon }) => loadFavIcon(createTag, getConfig(), getMetadata));


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module './sidekick-decorate.js'.

if (sk) import('./sidekick-decorate.js').then((mod) => { mod.default(sk); });


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/personalization/personalization.js'.

const { init } = await import('../features/personalization/personalization.js');


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.resolve() is not supported in op_mini all

config.georouting = { loadedPromise: Promise.resolve() };


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/georoutingv2/georoutingv2.js'.

const { default: loadGeoRouting } = await import('../features/georoutingv2/georoutingv2.js');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module './fonts.js'.

const { default: loadFonts } = await import('./fonts.js');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/personalization/personalization.js'.

import('../features/personalization/personalization.js')


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../scripts/delayed.js'.

import('../scripts/delayed.js').then(({ loadPrivacy }) => {


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/links.js'.

import('../features/links.js').then((mod) => mod.default(path, area));


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/japanese-word-wrap.js'.

import('../features/japanese-word-wrap.js').then(({ default: controlJapaneseLineBreaks }) => {


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module './logWebVitals.js'.

import('./logWebVitals.js')


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/personalization/preview.js'.

import('../features/personalization/preview.js')


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/dynamic-navigation/status.js'.

const { default: loadDNStatus } = await import('../features/dynamic-navigation/status.js');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module './sidekick.js'.

const { default: init } = await import('./sidekick.js');


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

const url = new URL(meta.content);


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../blocks/modal/modal.js'.

const { findDetails, getModal } = await import('../blocks/modal/modal.js');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module './injectblock.js'.

import('./injectblock.js').then((module) => module.default(injectBlock));


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../scripts/accessibility.js'.

import('../scripts/accessibility.js').then((accessibility) => {


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/seotech/seotech.js'.

import('../features/seotech/seotech.js').then((module) => module.default(


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/richresults.js'.

const { default: addRichResults } = await import('../features/richresults.js');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../scripts/delayed.js'.

const { default: delayed } = await import('../scripts/delayed.js');


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../martech/attributes.js'.

import('../martech/attributes.js').then((analytics) => {


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise is not supported in op_mini all

return hasStyles && new Promise((resolve) => { loadStyle(`${blockPath}.css`, resolve); });


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../blocks/fragment/fragment.js'.

const { default: loadInlineFrags } = await import('../blocks/fragment/fragment.js');


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.all() is not supported in op_mini all

await Promise.all(fragPromises);


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.all() is not supported in op_mini all

await Promise.all([


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.all() is not supported in op_mini all

await Promise.all(loadBlocks);


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
IntersectionObserver is not supported in op_mini all, KaiOS 2.5

const io = new IntersectionObserver((entries, observer) => {
entries.forEach(async (entry) => {
if (entry.isIntersecting) {
if (once) observer.unobserve(entry.target);
callback(entry.target, entry);
}
});
}, options);


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module './lana.js'.

await import('./lana.js');

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise is not supported in op_mini all

window.milo.deferredPromise = new Promise((resolve) => {
config.resolveDeferred = resolve;
});

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

const { pathname, search, hash } = new URL(url);

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <compat/compat> reported by reviewdog 🐶
fetch is not supported in op_mini all

const response = await fetch(`${getFederatedContentRoot()}/federal/assets/data/languages-config.json`);

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

const url = new URL(href);

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

const canonUrl = new URL(canonEl.href);

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

try { url = new URL(href, PAGE_URL); } catch (e) { /* do nothing */ }

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

const linkUrl = new URL(href.startsWith('http') ? href : `${PAGE_URL.origin}${href}`);

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise is not supported in op_mini all

export const loadScript = (url, type, { mode } = {}) => new Promise((resolve, reject) => {
let script = document.querySelector(`head > script[src="${url}"]`);
if (!script) {
const { head } = document;
script = document.createElement('script');
script.setAttribute('src', url);
if (type) {
script.setAttribute('type', type);
}
if (['async', 'defer'].includes(mode)) script.setAttribute(mode, true);
head.append(script);
}
if (script.dataset.loaded) {
resolve(script);
return;
}
const onScript = (event) => {
script.removeEventListener('load', onScript);
script.removeEventListener('error', onScript);
if (event.type === 'error') {
reject(new Error(`error loading script: ${script.src}`));
} else if (event.type === 'load') {
script.dataset.loaded = true;
resolve(script);
}
};
script.addEventListener('load', onScript);
script.addEventListener('error', onScript);
});

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise is not supported in op_mini all

const styleLoaded = new Promise((resolve) => {
loadStyle(`${base}/templates/${name}/${name}.css`, resolve);
});

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise is not supported in op_mini all

const scriptLoaded = new Promise((resolve) => {
(async () => {
try {
await import(`${base}/templates/${name}/${name}.js`);
} catch (err) {
console.log(`failed to load module for ${name}`, err);
}
resolve();
})();
});

@aem-code-sync aem-code-sync bot temporarily deployed to MWPW-181330-unity-verbs-changes-nala-test November 5, 2025 18:36 Inactive
Copy link
Collaborator

@skumar09 skumar09 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NALA tests for add-pdf-page-numbers, add-pages-to-pdf and compress-pdf looks good

cc: @dstrong23 , @Ruchika4

@aem-code-sync aem-code-sync bot temporarily deployed to MWPW-181330-unity-verbs-changes-nala-test November 5, 2025 20:33 Inactive

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/japanese-word-wrap.js'.

import('../features/japanese-word-wrap.js').then(({ default: controlJapaneseLineBreaks }) => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module './logWebVitals.js'.

import('./logWebVitals.js')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/personalization/preview.js'.

import('../features/personalization/preview.js')

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/dynamic-navigation/status.js'.

const { default: loadDNStatus } = await import('../features/dynamic-navigation/status.js');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module './sidekick.js'.

const { default: init } = await import('./sidekick.js');

@aem-code-sync aem-code-sync bot temporarily deployed to MWPW-181330-unity-verbs-changes-nala-test November 17, 2025 21:05 Inactive
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit

eslint

🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.all() is not supported in op_mini all

await Promise.all(fragPromises);


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.all() is not supported in op_mini all

await Promise.all([


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.all() is not supported in op_mini all

await Promise.all(loadBlocks);


🚫 [eslint] <compat/compat> reported by reviewdog 🐶
IntersectionObserver is not supported in op_mini all, KaiOS 2.5

const io = new IntersectionObserver((entries, observer) => {
entries.forEach(async (entry) => {
if (entry.isIntersecting) {
if (once) observer.unobserve(entry.target);
callback(entry.target, entry);
}
});
}, options);


🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module './lana.js'.

await import('./lana.js');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <compat/compat> reported by reviewdog 🐶
URL is not supported in op_mini all

const url = new URL(meta.content);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../blocks/modal/modal.js'.

const { findDetails, getModal } = await import('../blocks/modal/modal.js');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module './injectblock.js'.

import('./injectblock.js').then((module) => module.default(injectBlock));

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../scripts/accessibility.js'.

import('../scripts/accessibility.js').then((accessibility) => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/seotech/seotech.js'.

import('../features/seotech/seotech.js').then((module) => module.default(

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../features/richresults.js'.

const { default: addRichResults } = await import('../features/richresults.js');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../scripts/delayed.js'.

const { default: delayed } = await import('../scripts/delayed.js');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../martech/attributes.js'.

import('../martech/attributes.js').then((analytics) => {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise is not supported in op_mini all

return hasStyles && new Promise((resolve) => { loadStyle(`${blockPath}.css`, resolve); });

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module '../blocks/fragment/fragment.js'.

const { default: loadInlineFrags } = await import('../blocks/fragment/fragment.js');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.all() is not supported in op_mini all

await Promise.all(fragPromises);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.all() is not supported in op_mini all

await Promise.all([

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <compat/compat> reported by reviewdog 🐶
Promise.all() is not supported in op_mini all

await Promise.all(loadBlocks);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <compat/compat> reported by reviewdog 🐶
IntersectionObserver is not supported in op_mini all, KaiOS 2.5

const io = new IntersectionObserver((entries, observer) => {
entries.forEach(async (entry) => {
if (entry.isIntersecting) {
if (once) observer.unobserve(entry.target);
callback(entry.target, entry);
}
});
}, options);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [eslint] <import/no-unresolved> reported by reviewdog 🐶
Unable to resolve path to module './lana.js'.

await import('./lana.js');

@aem-code-sync aem-code-sync bot temporarily deployed to MWPW-181330-unity-verbs-changes-nala-test November 25, 2025 18:52 Inactive
@sirivuri
Copy link
Collaborator Author

Screenshot 2025-11-25 at 11 55 59 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants