Skip to content

Commit 8e1c971

Browse files
committed
test(nuxt): Fix failing e2e tests
1 parent e386281 commit 8e1c971

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

dev-packages/e2e-tests/test-applications/nuxt-3/package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
"nuxt": "^3.14.0"
2020
},
2121
"devDependencies": {
22-
"@nuxt/test-utils": "^3.14.1",
2322
"@playwright/test": "~1.50.0",
2423
"@sentry-internal/test-utils": "link:../../../test-utils"
2524
}
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
import { fileURLToPath } from 'node:url';
2-
import type { ConfigOptions } from '@nuxt/test-utils/playwright';
2+
// import type { ConfigOptions } from '@nuxt/test-utils/playwright';
33
import { getPlaywrightConfig } from '@sentry-internal/test-utils';
44

5-
const nuxtConfigOptions: ConfigOptions = {
6-
nuxt: {
7-
rootDir: fileURLToPath(new URL('.', import.meta.url)),
8-
},
9-
};
5+
// const nuxtConfigOptions: ConfigOptions = {
6+
// nuxt: {
7+
// rootDir: fileURLToPath(new URL('.', import.meta.url)),
8+
// },
9+
// };
1010

1111
/* Make sure to import from '@nuxt/test-utils/playwright' in the tests
1212
* Like this: import { expect, test } from '@nuxt/test-utils/playwright' */
1313

1414
const config = getPlaywrightConfig({
1515
startCommand: `pnpm start:import`,
16-
use: { ...nuxtConfigOptions },
16+
// use: { ...nuxtConfigOptions },
1717
});
1818

1919
export default config;

dev-packages/e2e-tests/test-applications/nuxt-3/tests/errors.client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { expect, test } from '@nuxt/test-utils/playwright';
1+
import { expect, test } from '@playwright/test';
22
import { waitForError } from '@sentry-internal/test-utils';
33

44
test.describe('client-side errors', async () => {

dev-packages/e2e-tests/test-applications/nuxt-3/tests/tracing.client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { expect, test } from '@nuxt/test-utils/playwright';
1+
import { expect, test } from '@playwright/test';
22
import { waitForTransaction } from '@sentry-internal/test-utils';
33
import type { Span } from '@sentry/nuxt';
44

0 commit comments

Comments
 (0)