Skip to content

Commit

Permalink
Merge branch 'next' into subtitle-of-prop
Browse files Browse the repository at this point in the history
  • Loading branch information
JReinhold authored Apr 22, 2024
2 parents 3889e83 + 3c33b3c commit 1c204ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/e2e-tests/framework-nextjs.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ test.describe('Next.js', () => {
// TODO: improve these E2E tests given that we have more version of Next.js to test
// and this only tests nextjs/default-js
test.skip(
!templateName?.includes('nextjs/default-js'),
!templateName?.includes('nextjs/default-ts'),
'Only run this test for the Frameworks that support next/navigation'
);

Expand Down Expand Up @@ -66,7 +66,7 @@ test.describe('Next.js', () => {
sbPage = new SbPage(page);

await sbPage.navigateToStory(
'stories/frameworks/nextjs-nextjs-default-js/Navigation',
'stories/frameworks/nextjs-nextjs-default-ts/Navigation',
'default'
);
root = sbPage.previewRoot();
Expand Down Expand Up @@ -100,7 +100,7 @@ test.describe('Next.js', () => {
test.beforeEach(async ({ page }) => {
sbPage = new SbPage(page);

await sbPage.navigateToStory('stories/frameworks/nextjs-nextjs-default-js/Router', 'default');
await sbPage.navigateToStory('stories/frameworks/nextjs-nextjs-default-ts/Router', 'default');
root = sbPage.previewRoot();
});

Expand Down

0 comments on commit 1c204ea

Please sign in to comment.