Skip to content
Prev Previous commit
Next Next commit
refactor createTable test
Signed-off-by: silver <[email protected]>
  • Loading branch information
silverkszlo authored and backportbot[bot] committed Dec 9, 2025
commit 7d96e26ac636f252c8fd52af50ef08989d60f8f4
7 changes: 3 additions & 4 deletions playwright/e2e/create-table-api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ test.describe('createTable API', () => {
await open()

// Load the editor API bundle
await page.evaluate(async () => {
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore - Dynamic import in browser context
await import('/apps/text/js/text-editor.mjs')
await page.addScriptTag({
url: '/apps/text/js/text-editor.mjs',
type: 'module',
})
})

Expand Down