@@ -367,62 +367,24 @@ public void shouldCreateSeriesWithAllFieldsFilled() {
367
367
}
368
368
369
369
@ Test (groups = "logic" , dependsOnGroups = { "std" , "valid" , "invalid" , "misc" })
370
- public void shouldIgnoreDuplicatedMichelNumbers () {
370
+ public void shouldIgnoreDuplicatedCatalogNumbers () {
371
371
page .fillCategory (validCategoryName );
372
372
page .fillQuantity ("2" );
373
373
page .fillImage (SAMPLE_IMAGE_PATH );
374
374
page .showCatalogNumbers ();
375
- page .fillMichelNumbers ("104,105,104" );
376
-
377
- AbstractPage next = page .submit ();
378
- assertThat (next ).isInstanceOf (InfoSeriesPage .class );
379
375
380
- InfoSeriesPage nextPage = (InfoSeriesPage )next ;
381
- assertThat (nextPage .getMichelCatalogInfo ()).isEqualTo ("#104, 105" );
382
- }
383
-
384
- @ Test (groups = "logic" , dependsOnGroups = { "std" , "valid" , "invalid" , "misc" })
385
- public void shouldIgnoreDuplicatedScottNumbers () {
386
- page .fillCategory (validCategoryName );
387
- page .fillQuantity ("2" );
388
- page .fillImage (SAMPLE_IMAGE_PATH );
389
- page .showCatalogNumbers ();
376
+ page .fillMichelNumbers ("104,105,104" );
390
377
page .fillScottNumbers ("114,115,114" );
391
-
392
- AbstractPage next = page .submit ();
393
- assertThat (next ).isInstanceOf (InfoSeriesPage .class );
394
-
395
- InfoSeriesPage nextPage = (InfoSeriesPage )next ;
396
- assertThat (nextPage .getScottCatalogInfo ()).isEqualTo ("#114, 115" );
397
- }
398
-
399
- @ Test (groups = "logic" , dependsOnGroups = { "std" , "valid" , "invalid" , "misc" })
400
- public void shouldIgnoreDuplicatedYvertNumbers () {
401
- page .fillCategory (validCategoryName );
402
- page .fillQuantity ("2" );
403
- page .fillImage (SAMPLE_IMAGE_PATH );
404
- page .showCatalogNumbers ();
405
378
page .fillYvertNumbers ("124,125,124" );
406
-
407
- AbstractPage next = page .submit ();
408
- assertThat (next ).isInstanceOf (InfoSeriesPage .class );
409
-
410
- InfoSeriesPage nextPage = (InfoSeriesPage )next ;
411
- assertThat (nextPage .getYvertCatalogInfo ()).isEqualTo ("#124, 125" );
412
- }
413
-
414
- @ Test (groups = "logic" , dependsOnGroups = { "std" , "valid" , "invalid" , "misc" })
415
- public void shouldIgnoreDuplicatedGibbonsNumbers () {
416
- page .fillCategory (validCategoryName );
417
- page .fillQuantity ("2" );
418
- page .fillImage (SAMPLE_IMAGE_PATH );
419
- page .showCatalogNumbers ();
420
379
page .fillGibbonsNumbers ("134,135,134" );
421
380
422
381
AbstractPage next = page .submit ();
423
382
assertThat (next ).isInstanceOf (InfoSeriesPage .class );
424
383
425
384
InfoSeriesPage nextPage = (InfoSeriesPage )next ;
385
+ assertThat (nextPage .getMichelCatalogInfo ()).isEqualTo ("#104, 105" );
386
+ assertThat (nextPage .getScottCatalogInfo ()).isEqualTo ("#114, 115" );
387
+ assertThat (nextPage .getYvertCatalogInfo ()).isEqualTo ("#124, 125" );
426
388
assertThat (nextPage .getGibbonsCatalogInfo ()).isEqualTo ("#134, 135" );
427
389
}
428
390
0 commit comments