@@ -103,7 +103,6 @@ test.describe("dynamicParams set to true", () => {
103103 test ( "should be HIT on a path that was prebuilt" , async ( { page } ) => {
104104 const res = await page . goto ( "/isr/dynamic-params-true/1" ) ;
105105 expect ( res ?. status ( ) ) . toEqual ( 200 ) ;
106- // TODO: sync this to aws
107106 const cacheHeader = res ?. headers ( ) [ "x-nextjs-cache" ] ?? res ?. headers ( ) [ "x-opennext-cache" ] ;
108107 expect ( cacheHeader ) . toEqual ( "HIT" ) ;
109108 const title = await page . getByTestId ( "title" ) . textContent ( ) ;
@@ -117,7 +116,6 @@ test.describe("dynamicParams set to true", () => {
117116 // We are gonna skip this one for now, turborepo caching can cause this page to be STALE once deployed
118117 test . skip ( "should SSR on a path that was not prebuilt" , async ( { page } ) => {
119118 const res = await page . goto ( "/isr/dynamic-params-true/11" ) ;
120- // TODO: sync this to aws
121119 const cacheHeader = res ?. headers ( ) [ "x-nextjs-cache" ] ?? res ?. headers ( ) [ "x-opennext-cache" ] ;
122120 expect ( cacheHeader ) . toEqual ( "MISS" ) ;
123121 const title = await page . getByTestId ( "title" ) . textContent ( ) ;
@@ -144,7 +142,6 @@ test.describe("dynamicParams set to false", () => {
144142 test ( "should be HIT on a path that was prebuilt" , async ( { page } ) => {
145143 const res = await page . goto ( "/isr/dynamic-params-false/1" ) ;
146144 expect ( res ?. status ( ) ) . toEqual ( 200 ) ;
147- // TODO: sync this to aws
148145 const cacheHeader = res ?. headers ( ) [ "x-nextjs-cache" ] ?? res ?. headers ( ) [ "x-opennext-cache" ] ;
149146 expect ( cacheHeader ) . toEqual ( "HIT" ) ;
150147 const title = await page . getByTestId ( "title" ) . textContent ( ) ;
0 commit comments