@@ -258,7 +258,6 @@ describe("MapEditorPanel", () => {
258258 const latInput = await screen . findByLabelText ( "Latitude" ) ;
259259 await userEvent . clear ( latInput ) ;
260260 await userEvent . type ( latInput , "956894" ) ;
261- await userEvent . click ( screen . getByRole ( "button" , { name : "Create Site" } ) ) ;
262261
263262 expect ( screen . getByText ( / L a t i t u d e m u s t b e b e t w e e n - 9 0 a n d 9 0 / ) ) . toBeInTheDocument ( ) ;
264263 expect ( useAppStore . getState ( ) . mapEditor ) . not . toBeNull ( ) ;
@@ -282,7 +281,6 @@ describe("MapEditorPanel", () => {
282281 const lonInput = await screen . findByLabelText ( "Longitude" ) ;
283282 await userEvent . clear ( lonInput ) ;
284283 await userEvent . type ( lonInput , "956894" ) ;
285- await userEvent . click ( screen . getByRole ( "button" , { name : "Create Site" } ) ) ;
286284
287285 expect ( screen . getByText ( / L o n g i t u d e m u s t b e b e t w e e n - 1 8 0 a n d 1 8 0 / ) ) . toBeInTheDocument ( ) ;
288286 expect ( useAppStore . getState ( ) . mapEditor ) . not . toBeNull ( ) ;
@@ -306,7 +304,6 @@ describe("MapEditorPanel", () => {
306304 const latInput = await screen . findByLabelText ( "Latitude" ) ;
307305 await userEvent . clear ( latInput ) ;
308306 await userEvent . type ( latInput , " 956894" ) ;
309- await userEvent . click ( screen . getByRole ( "button" , { name : "Create Site" } ) ) ;
310307
311308 expect ( screen . getByText ( / L a t i t u d e m u s t b e b e t w e e n - 9 0 a n d 9 0 / ) ) . toBeInTheDocument ( ) ;
312309 expect ( useAppStore . getState ( ) . mapEditor ) . not . toBeNull ( ) ;
0 commit comments