@@ -131,7 +131,7 @@ test.describe("Event Types tests", () => {
131131 expect ( formTitle ) . toBe ( firstTitle ) ;
132132 expect ( formSlug ) . toContain ( firstSlug ) ;
133133
134- const submitPromise = page . waitForResponse ( "/api/trpc/eventTypes/duplicate?batch=1" ) ;
134+ const submitPromise = page . waitForResponse ( "/api/trpc/eventTypes/heavy/ duplicate?batch=1" ) ;
135135 await page . getByTestId ( "continue" ) . click ( ) ;
136136 const response = await submitPromise ;
137137 expect ( response . status ( ) ) . toBe ( 200 ) ;
@@ -144,7 +144,7 @@ test.describe("Event Types tests", () => {
144144 await page . waitForURL ( ( url ) => {
145145 return ! ! url . pathname . match ( / \/ e v e n t - t y p e s \/ .+ / ) ;
146146 } ) ;
147- await submitAndWaitForResponse ( page , "/api/trpc/eventTypes/update?batch=1" , {
147+ await submitAndWaitForResponse ( page , "/api/trpc/eventTypes/heavy/ update?batch=1" , {
148148 action : ( ) => page . locator ( "[data-testid=update-eventtype]" ) . click ( ) ,
149149 } ) ;
150150 } ) ;
@@ -167,7 +167,7 @@ test.describe("Event Types tests", () => {
167167 await page . locator ( "[data-testid=add-location]" ) . click ( ) ;
168168 await fillLocation ( page , locationData [ 2 ] , 2 ) ;
169169
170- await submitAndWaitForResponse ( page , "/api/trpc/eventTypes/update?batch=1" , {
170+ await submitAndWaitForResponse ( page , "/api/trpc/eventTypes/heavy/ update?batch=1" , {
171171 action : ( ) => page . locator ( "[data-testid=update-eventtype]" ) . click ( ) ,
172172 } ) ;
173173
@@ -314,7 +314,7 @@ test.describe("Event Types tests", () => {
314314 const locationAddress = "New Delhi" ;
315315
316316 await fillLocation ( page , locationAddress , 0 , false ) ;
317- await submitAndWaitForResponse ( page , "/api/trpc/eventTypes/update?batch=1" , {
317+ await submitAndWaitForResponse ( page , "/api/trpc/eventTypes/heavy/ update?batch=1" , {
318318 action : ( ) => page . locator ( "[data-testid=update-eventtype]" ) . click ( ) ,
319319 } ) ;
320320
@@ -429,7 +429,7 @@ test.describe("Event Types tests", () => {
429429 await page . locator ( '[aria-label="Timezone Select"]' ) . fill ( "New York" ) ;
430430 await page . keyboard . press ( "Enter" ) ;
431431
432- await submitAndWaitForResponse ( page , "/api/trpc/eventTypes/update?batch=1" , {
432+ await submitAndWaitForResponse ( page , "/api/trpc/eventTypes/heavy/ update?batch=1" , {
433433 action : ( ) => page . locator ( "[data-testid=update-eventtype]" ) . click ( ) ,
434434 } ) ;
435435 await page . goto ( "/event-types" ) ;
0 commit comments