diff --git a/core/src/utils/test/playwright/page/utils/set-content.ts b/core/src/utils/test/playwright/page/utils/set-content.ts
index 1231340f59..57b91cd33a 100644
--- a/core/src/utils/test/playwright/page/utils/set-content.ts
+++ b/core/src/utils/test/playwright/page/utils/set-content.ts
@@ -39,9 +39,12 @@ export const setContent = async (page: Page, html: string, testInfo: TestInfo, o
// The Ionic bundle is included locally by default unless the test
// config passes in the importIonicFromCDN option. This is useful
// when testing with the CDN version of Ionic.
- let ionicCSSImports = theme === 'ionic' ? `
+ let ionicCSSImports =
+ theme === 'ionic'
+ ? `
- ` : `
+ `
+ : `
`;
let ionicJSImports = `
@@ -49,9 +52,12 @@ export const setContent = async (page: Page, html: string, testInfo: TestInfo, o
`;
if (options?.importIonicFromCDN) {
- ionicCSSImports = theme === 'ionic' ? `
+ ionicCSSImports =
+ theme === 'ionic'
+ ? `
- ` : `
+ `
+ : `
`;
ionicJSImports = `