@@ -183,7 +183,7 @@ void onOpeningNewImageFolder_WhenBoundingBoxesExist_ShouldResetCorrectly(FxRobot
183183 final Stage errorReportStage = timeOutGetTopModalStage (robot , "Image loading error report" , testinfo );
184184 verifyThat (errorReportStage , Matchers .notNullValue (), saveScreenshot (testinfo ));
185185
186- final String errorReportDialogContentReferenceText = "1 image file could not be loaded." ;
186+ final String errorReportDialogContentReferenceText = "2 image files could not be loaded." ;
187187 final DialogPane errorReportDialog = (DialogPane ) errorReportStage .getScene ().getRoot ();
188188 verifyThat (errorReportDialog .getContentText (), Matchers .equalTo (errorReportDialogContentReferenceText ),
189189 saveScreenshot (testinfo ));
@@ -202,12 +202,15 @@ void onOpeningNewImageFolder_WhenBoundingBoxesExist_ShouldResetCorrectly(FxRobot
202202
203203 final List <IOErrorInfoEntry > errorInfoEntries = errorInfoTable .getItems ();
204204
205- verifyThat (errorInfoEntries , Matchers .hasSize (1 ), saveScreenshot (testinfo ));
205+ verifyThat (errorInfoEntries , Matchers .hasSize (2 ), saveScreenshot (testinfo ));
206206
207- final IOErrorInfoEntry referenceErrorInfoEntry1 = new IOErrorInfoEntry ("no_image_file.txt" ,
208- "Invalid or unsupported image file." );
207+ final IOErrorInfoEntry referenceErrorInfoEntry1 = new IOErrorInfoEntry ("cameraman.tif" ,
208+ "Unsupported image file format." );
209+ final IOErrorInfoEntry referenceErrorInfoEntry2 = new IOErrorInfoEntry ("no_image_file.txt" ,
210+ "Invalid image file." );
209211
210- verifyThat (errorInfoEntries , Matchers .contains (referenceErrorInfoEntry1 ), saveScreenshot (testinfo ));
212+ verifyThat (errorInfoEntries , Matchers .contains (referenceErrorInfoEntry1 , referenceErrorInfoEntry2 ),
213+ saveScreenshot (testinfo ));
211214
212215 timeOutClickOnButtonInDialogStage (robot , errorReportStage , ButtonType .OK , testinfo );
213216 WaitForAsyncUtils .waitForFxEvents ();
0 commit comments