diff --git a/.changeset/eighty-plums-listen.md b/.changeset/eighty-plums-listen.md new file mode 100644 index 00000000000..a845151cc84 --- /dev/null +++ b/.changeset/eighty-plums-listen.md @@ -0,0 +1,2 @@ +--- +--- diff --git a/integration/presets/longRunningApps.ts b/integration/presets/longRunningApps.ts index b46ba8ba506..9937f08bc99 100644 --- a/integration/presets/longRunningApps.ts +++ b/integration/presets/longRunningApps.ts @@ -31,7 +31,6 @@ export const createLongRunningApps = () => { { id: 'next.appRouter.withSignInOrUpFlow', config: next.appRouter, env: envs.withSignInOrUpFlow }, { id: 'next.appRouter.withSignInOrUpEmailLinksFlow', config: next.appRouter, env: envs.withSignInOrUpEmailLinksFlow }, { id: 'next.appRouter.withSessionTasks', config: next.appRouter, env: envs.withSessionTasks }, - { id: 'next.appRouter.withAPIKeys', config: next.appRouter, env: envs.withAPIKeys }, { id: 'next.appRouter.withLegalConsent', config: next.appRouter, env: envs.withLegalConsent }, /** @@ -49,9 +48,9 @@ export const createLongRunningApps = () => { /** * Machine auth apps - * TODO(rob): Group other machine auth apps together (api keys, m2m tokens, etc) */ { id: 'withMachine.express.vite', config: express.vite, env: envs.withAPIKeys }, + { id: 'withMachine.next.appRouter', config: next.appRouter, env: envs.withAPIKeys }, /** * Vite apps - basic flows diff --git a/integration/tests/machine-auth/api-keys.test.ts b/integration/tests/machine-auth/api-keys.test.ts index b91ea3ddad1..c21f8b3c17a 100644 --- a/integration/tests/machine-auth/api-keys.test.ts +++ b/integration/tests/machine-auth/api-keys.test.ts @@ -7,7 +7,7 @@ import { appConfigs } from '../../presets'; import type { FakeAPIKey, FakeUser } from '../../testUtils'; import { createTestUtils } from '../../testUtils'; -test.describe('Next.js API key auth within clerkMiddleware() @nextjs', () => { +test.describe('Next.js API key auth within clerkMiddleware() @machine', () => { test.describe.configure({ mode: 'parallel' }); let app: Application; let fakeUser: FakeUser; diff --git a/integration/tests/machine-auth/component.test.ts b/integration/tests/machine-auth/component.test.ts index f0f17f982a5..86c49d08548 100644 --- a/integration/tests/machine-auth/component.test.ts +++ b/integration/tests/machine-auth/component.test.ts @@ -4,7 +4,10 @@ import { appConfigs } from '../../presets'; import type { FakeOrganization, FakeUser } from '../../testUtils'; import { createTestUtils, testAgainstRunningApps } from '../../testUtils'; -testAgainstRunningApps({ withEnv: [appConfigs.envs.withAPIKeys] })('api keys @generic', ({ app }) => { +testAgainstRunningApps({ + withEnv: [appConfigs.envs.withAPIKeys], + withPattern: ['withMachine.next.appRouter'], +})('api keys component @machine', ({ app }) => { test.describe.configure({ mode: 'serial' }); let fakeAdmin: FakeUser;