Skip to content

Commit

Permalink
increase timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
panteliselef committed Oct 3, 2024
1 parent 8a7c218 commit 4b920b8
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { logUserIdActionStack } from '@/app/protect-action/actions';
import { PageComponent } from '@/app/protect-action/page-component';

function Page() {
// @ts-ignore
return <PageComponent action={logUserIdActionStack} />;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { logUserIdActionReverification } from '@/app/protect-action/actions';
import { PageComponent } from '@/app/protect-action/page-component';

function Page() {
// @ts-ignore
return <PageComponent action={logUserIdActionReverification} />;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { logUserIdActionRole } from '@/app/protect-action/actions';
import { PageComponent } from '@/app/protect-action/page-component';

function Page() {
// @ts-ignore
return <PageComponent action={logUserIdActionRole} />;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { logUserIdAction } from '@/app/protect-action/actions';
import { PageComponent } from '@/app/protect-action/page-component';

function Page() {
// @ts-ignore
return <PageComponent action={logUserIdAction} />;
}

Expand Down
4 changes: 2 additions & 2 deletions integration/tests/next-app/protect-action-route.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withReverification] })(

utils.forEach(type => {
test(`protect${capitalize(type)} returned values as ${'`admin`'}`, async ({ page, context }) => {
// test.setTimeout(1200000);
test.setTimeout(120000000);
const u = createTestUtils({ app, page, context });

await u.po.signIn.goTo();
Expand Down Expand Up @@ -121,7 +121,7 @@ testAgainstRunningApps({ withEnv: [appConfigs.envs.withReverification] })(

utils.forEach(type => {
test(`protect${capitalize(type)} returned values as ${'`signed-in user`'}`, async ({ page, context }) => {
// test.setTimeout(1200000);
test.setTimeout(120000000);
const u = createTestUtils({ app, page, context });

await u.po.signIn.goTo();
Expand Down

0 comments on commit 4b920b8

Please sign in to comment.