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 9
9
"dependencies" : {},
10
10
"devDependencies" : {
11
11
"@playwright/test" : " 1.37.0" ,
12
- "@open-next/utils" : " workspace:*" ,
13
12
"start-server-and-test" : " 2.0.0" ,
14
13
"ts-node" : " 10.9.1"
15
14
},
Original file line number Diff line number Diff line change 1
- import { wait } from "@open-next/utils" ;
2
1
import { expect , test } from "@playwright/test" ;
3
2
3
+ import { wait } from "../utils" ;
4
+
4
5
test ( "Incremental Static Regeneration" , async ( { page } ) => {
5
6
test . setTimeout ( 60000 ) ;
6
7
await page . goto ( "/" ) ;
Original file line number Diff line number Diff line change 1
- import { wait } from "@open-next/utils" ;
2
1
import { expect , test } from "@playwright/test" ;
3
2
3
+ import { wait } from "../utils" ;
4
+
4
5
test ( "Incremental Static Regeneration" , async ( { page } ) => {
5
6
test . setTimeout ( 60000 ) ;
6
7
await page . goto ( "/" ) ;
Original file line number Diff line number Diff line change 1
- import { wait } from "@open-next/utils" ;
2
1
import { expect , test } from "@playwright/test" ;
3
2
3
+ import { wait } from "../utils" ;
4
+
4
5
test ( "Server Side Render" , async ( { page } ) => {
5
6
await page . goto ( "/" ) ;
6
7
await page . locator ( '[href="/pages_ssr"]' ) . click ( ) ;
Original file line number Diff line number Diff line change 1
- import { wait } from "@open-next/utils" ;
2
1
import { expect , test } from "@playwright/test" ;
3
2
3
+ import { wait } from "../utils" ;
4
+
4
5
test ( "Server Side Render" , async ( { page } ) => {
5
6
await page . goto ( "/" ) ;
6
7
await page . locator ( '[href="/ssr"]' ) . click ( ) ;
Original file line number Diff line number Diff line change 1
- import { wait } from "@open-next/utils" ;
2
1
import { expect , test } from "@playwright/test" ;
3
2
3
+ import { wait } from "../utils" ;
4
+
4
5
test ( "Incremental Static Regeneration" , async ( { page } ) => {
5
6
test . setTimeout ( 45000 ) ;
6
7
await page . goto ( "/" ) ;
Original file line number Diff line number Diff line change 1
1
// NOTE: loading.tsx is currently broken on open - next
2
2
// This works locally but not on deployed apps
3
3
4
- import { wait } from "@open-next/utils" ;
5
4
import { expect , test } from "@playwright/test" ;
6
5
6
+ import { wait } from "../utils" ;
7
+
7
8
// NOTE: We don't await page load b/c we want to see the Loading page
8
9
test ( "Server Sent Events" , async ( { page } ) => {
9
10
await page . goto ( "/" ) ;
Original file line number Diff line number Diff line change 1
1
// NOTE: loading.tsx is currently broken on open - next
2
2
// This works locally but not on deployed apps
3
3
4
- import { wait } from "@open-next/utils" ;
5
4
import { expect , test } from "@playwright/test" ;
6
5
6
+ import { wait } from "../utils" ;
7
+
7
8
// NOTE: We don't await page load b/c we want to see the Loading page
8
9
test ( "Server Side Render and loading.tsx" , async ( { page } ) => {
9
10
test . setTimeout ( 600000 ) ;
Original file line number Diff line number Diff line change 1
- import { wait } from "@open-next/utils" ;
2
1
import { expect , test } from "@playwright/test" ;
3
2
3
+ import { wait } from "../utils" ;
4
+
4
5
test ( "Incremental Static Regeneration" , async ( { page } ) => {
5
6
test . setTimeout ( 45000 ) ;
6
7
await page . goto ( "/" ) ;
Original file line number Diff line number Diff line change 1
- import { wait } from "@open-next/utils" ;
2
1
import { expect , test } from "@playwright/test" ;
3
2
3
+ import { wait } from "../utils" ;
4
+
4
5
test ( "Server Side Render" , async ( { page } ) => {
5
6
await page . goto ( "/" ) ;
6
7
await page . locator ( '[href="/ssr/"]' ) . click ( ) ;
You can’t perform that action at this time.
0 commit comments