Files
klz-cables.com/backstop_data/engine_scripts/puppet/onReady.cjs
Marc Mintel d11dae5f85
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 7s
Build & Deploy / 🧪 QA (push) Failing after 2m14s
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🧪 Smoke Test (push) Has been skipped
Build & Deploy / ⚡ Lighthouse (push) Has been skipped
Build & Deploy / ♿ WCAG (push) Has been skipped
Build & Deploy / 📸 Visual Diff (push) Has been skipped
Build & Deploy / 🛡️ Quality Gates (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
chore: achieve 100/100 pagespeed and html validation
- fix html validation errors in blog mdx (empty headings)
- fix backstopjs esm compatibility and missing reference images
- optimize product data structure and next.config.mjs
- finalize accessibility and seo improvements
2026-02-22 02:02:38 +01:00

21 lines
567 B
JavaScript

/* eslint-disable */
module.exports = async (page, scenario, vp) => {
console.log('SCENARIO > ' + scenario.label);
// Disable CSS animations instantly to avoid flaky screenshots
await page.evaluate(() => {
const style = document.createElement('style');
style.innerHTML = `
* {
animation: none !important;
transition: none !important;
caret-color: transparent !important;
}
`;
document.head.appendChild(style);
});
// Example: Wait for fonts to load
await page.evaluate(() => document.fonts.ready);
};