File tree Expand file tree Collapse file tree 14 files changed +22
-18
lines changed Expand file tree Collapse file tree 14 files changed +22
-18
lines changed Original file line number Diff line number Diff line change 99 "dependencies" : {},
1010 "devDependencies" : {
1111 "@playwright/test" : " 1.37.0" ,
12- "@open-next/utils" : " workspace:*" ,
1312 "start-server-and-test" : " 2.0.0" ,
1413 "ts-node" : " 10.9.1"
1514 },
Original file line number Diff line number Diff line change 1- import { wait } from "@open-next/utils" ;
21import { expect , test } from "@playwright/test" ;
32
3+ import { wait } from "../utils" ;
4+
45test ( "Incremental Static Regeneration" , async ( { page } ) => {
56 test . setTimeout ( 60000 ) ;
67 await page . goto ( "/" ) ;
Original file line number Diff line number Diff line change 1- import { wait } from "@open-next/utils" ;
21import { expect , test } from "@playwright/test" ;
32
3+ import { wait } from "../utils" ;
4+
45test ( "Incremental Static Regeneration" , async ( { page } ) => {
56 test . setTimeout ( 60000 ) ;
67 await page . goto ( "/" ) ;
Original file line number Diff line number Diff line change 1- import { wait } from "@open-next/utils" ;
21import { expect , test } from "@playwright/test" ;
32
3+ import { wait } from "../utils" ;
4+
45test ( "Server Side Render" , async ( { page } ) => {
56 await page . goto ( "/" ) ;
67 await page . locator ( '[href="/pages_ssr"]' ) . click ( ) ;
Original file line number Diff line number Diff line change 1- import { wait } from "@open-next/utils" ;
21import { expect , test } from "@playwright/test" ;
32
3+ import { wait } from "../utils" ;
4+
45test ( "Server Side Render" , async ( { page } ) => {
56 await page . goto ( "/" ) ;
67 await page . locator ( '[href="/ssr"]' ) . click ( ) ;
Original file line number Diff line number Diff line change 1- import { wait } from "@open-next/utils" ;
21import { expect , test } from "@playwright/test" ;
32
3+ import { wait } from "../utils" ;
4+
45test ( "Incremental Static Regeneration" , async ( { page } ) => {
56 test . setTimeout ( 45000 ) ;
67 await page . goto ( "/" ) ;
Original file line number Diff line number Diff line change 11// NOTE: loading.tsx is currently broken on open - next
22// This works locally but not on deployed apps
33
4- import { wait } from "@open-next/utils" ;
54import { expect , test } from "@playwright/test" ;
65
6+ import { wait } from "../utils" ;
7+
78// NOTE: We don't await page load b/c we want to see the Loading page
89test ( "Server Sent Events" , async ( { page } ) => {
910 await page . goto ( "/" ) ;
Original file line number Diff line number Diff line change 11// NOTE: loading.tsx is currently broken on open - next
22// This works locally but not on deployed apps
33
4- import { wait } from "@open-next/utils" ;
54import { expect , test } from "@playwright/test" ;
65
6+ import { wait } from "../utils" ;
7+
78// NOTE: We don't await page load b/c we want to see the Loading page
89test ( "Server Side Render and loading.tsx" , async ( { page } ) => {
910 test . setTimeout ( 600000 ) ;
Original file line number Diff line number Diff line change 1- import { wait } from "@open-next/utils" ;
21import { expect , test } from "@playwright/test" ;
32
3+ import { wait } from "../utils" ;
4+
45test ( "Incremental Static Regeneration" , async ( { page } ) => {
56 test . setTimeout ( 45000 ) ;
67 await page . goto ( "/" ) ;
Original file line number Diff line number Diff line change 1- import { wait } from "@open-next/utils" ;
21import { expect , test } from "@playwright/test" ;
32
3+ import { wait } from "../utils" ;
4+
45test ( "Server Side Render" , async ( { page } ) => {
56 await page . goto ( "/" ) ;
67 await page . locator ( '[href="/ssr/"]' ) . click ( ) ;
You can’t perform that action at this time.
0 commit comments