@@ -73,11 +73,11 @@ test("Revalidate tag", async ({ page, request }) => {
7373test ( "Revalidate path" , async ( { page, request } ) => {
7474 await page . goto ( "/revalidate-path" ) ;
7575
76- let elLayout = page . getByText ( "Paris :" ) ;
77- const initialParis = await elLayout . textContent ( ) ;
76+ let elLayout = page . getByText ( "RequestID :" ) ;
77+ const initialReqId = await elLayout . textContent ( ) ;
7878
79- elLayout = page . getByText ( "London :" ) ;
80- const initialLondon = await elLayout . textContent ( ) ;
79+ elLayout = page . getByText ( "Date :" ) ;
80+ const initialDate = await elLayout . textContent ( ) ;
8181
8282 // Send revalidate path request
8383 const result = await request . get ( "/api/revalidate-path" ) ;
@@ -86,11 +86,11 @@ test("Revalidate path", async ({ page, request }) => {
8686 expect ( text ) . toEqual ( "ok" ) ;
8787
8888 await page . goto ( "/revalidate-path" ) ;
89- elLayout = page . getByText ( "Paris :" ) ;
90- const newParis = await elLayout . textContent ( ) ;
91- expect ( newParis ) . not . toEqual ( initialParis ) ;
89+ elLayout = page . getByText ( "RequestID :" ) ;
90+ const newReqId = await elLayout . textContent ( ) ;
91+ expect ( newReqId ) . not . toEqual ( initialReqId ) ;
9292
93- elLayout = page . getByText ( "London :" ) ;
94- const newLondon = await elLayout . textContent ( ) ;
95- expect ( newLondon ) . not . toEqual ( initialLondon ) ;
93+ elLayout = page . getByText ( "Date :" ) ;
94+ const newDate = await elLayout . textContent ( ) ;
95+ expect ( newDate ) . not . toEqual ( initialDate ) ;
9696} ) ;
0 commit comments