aboutsummaryrefslogtreecommitdiff
path: root/test/playwright
diff options
context:
space:
mode:
Diffstat (limited to 'test/playwright')
-rw-r--r--test/playwright/global.setup.js4
-rw-r--r--test/playwright/global.teardown.js2
-rw-r--r--test/playwright/integration.spec.js4
-rw-r--r--test/playwright/visual.spec.js2
4 files changed, 6 insertions, 6 deletions
diff --git a/test/playwright/global.setup.js b/test/playwright/global.setup.js
index 8c2f8b50..63452397 100644
--- a/test/playwright/global.setup.js
+++ b/test/playwright/global.setup.js
@@ -18,8 +18,8 @@
import {test as setup} from '@playwright/test';
import fs from 'fs';
import path from 'path';
-import {ManifestUtil} from '../../dev/manifest-util';
-import {root} from './playwright-util';
+import {ManifestUtil} from '../../dev/manifest-util.js';
+import {root} from './playwright-util.js';
const manifestPath = path.join(root, 'ext/manifest.json');
const copyManifestPath = path.join(root, 'ext/manifest-old.json');
diff --git a/test/playwright/global.teardown.js b/test/playwright/global.teardown.js
index f3d8897f..e747e5fd 100644
--- a/test/playwright/global.teardown.js
+++ b/test/playwright/global.teardown.js
@@ -18,7 +18,7 @@
import {test as teardown} from '@playwright/test';
import fs from 'fs';
import path from 'path';
-import {root} from './playwright-util';
+import {root} from './playwright-util.js';
const manifestPath = path.join(root, 'ext/manifest.json');
const copyManifestPath = path.join(root, 'ext/manifest-old.json');
diff --git a/test/playwright/integration.spec.js b/test/playwright/integration.spec.js
index bdcfddf0..170714a1 100644
--- a/test/playwright/integration.spec.js
+++ b/test/playwright/integration.spec.js
@@ -16,7 +16,7 @@
*/
import path from 'path';
-import {createDictionaryArchive} from '../../dev/util';
+import {createDictionaryArchive} from '../../dev/util.js';
import {
expect,
expectedAddNoteBody,
@@ -26,7 +26,7 @@ import {
root,
test,
writeToClipboardFromPage
-} from './playwright-util';
+} from './playwright-util.js';
test.beforeEach(async ({context}) => {
// Wait for the on-install welcome.html tab to load, which becomes the foreground tab
diff --git a/test/playwright/visual.spec.js b/test/playwright/visual.spec.js
index cc2a50d0..fc8bb8df 100644
--- a/test/playwright/visual.spec.js
+++ b/test/playwright/visual.spec.js
@@ -17,7 +17,7 @@
import path from 'path';
import {pathToFileURL} from 'url';
-import {expect, root, test} from './playwright-util';
+import {expect, root, test} from './playwright-util.js';
test.beforeEach(async ({context}) => {
// Wait for the on-install welcome.html tab to load, which becomes the foreground tab