File tree 2 files changed +13
-17
lines changed
java/ru/mystamps/web/tests/cases
robotframework/series/creation
2 files changed +13
-17
lines changed Original file line number Diff line number Diff line change @@ -64,23 +64,6 @@ public void shouldHaveStandardStructure() {
64
64
checkStandardStructure ();
65
65
}
66
66
67
- @ Test (groups = "misc" , dependsOnGroups = "std" )
68
- public void catalogNumbersShouldBeStripedFromSpaces () {
69
- page .showCatalogNumbers ();
70
-
71
- page .fillMichelNumbers (" 1 , 2 " );
72
- page .fillScottNumbers (" 3 , 4 " );
73
- page .fillYvertNumbers (" 5 , 6 " );
74
- page .fillGibbonsNumbers (" 7 , 8 " );
75
-
76
- page .submit ();
77
-
78
- assertThat (page ).field ("michelNumbers" ).hasValue ("1,2" );
79
- assertThat (page ).field ("scottNumbers" ).hasValue ("3,4" );
80
- assertThat (page ).field ("yvertNumbers" ).hasValue ("5,6" );
81
- assertThat (page ).field ("gibbonsNumbers" ).hasValue ("7,8" );
82
- }
83
-
84
67
@ Test (groups = "misc" , dependsOnGroups = "std" )
85
68
public void commentShouldBeStripedFromLeadingAndTrailingSpaces () {
86
69
page .showComment ();
Original file line number Diff line number Diff line change @@ -17,6 +17,19 @@ Catalog numbers should accept valid values
17
17
71 , 81, 91
18
18
1000
19
19
20
+ Catalog numbers should be stripped from leading and trailing spaces
21
+ [Documentation] Verify removing of leading and trailing spaces from catalog numbers
22
+ Click Element id=add-catalog-numbers-link
23
+ Input Text id=michelNumbers ${SPACE * 2 } 1 , 2${SPACE * 2 }
24
+ Input Text id=scottNumbers ${SPACE * 2 } 3 , 4${SPACE * 2 }
25
+ Input Text id=yvertNumbers ${SPACE * 2 } 5 , 6${SPACE * 2 }
26
+ Input Text id=gibbonsNumbers ${SPACE * 2 } 7 , 8${SPACE * 2 }
27
+ Submit Form id=add-series-form
28
+ Textfield Value Should Be id=michelNumbers 1,2
29
+ Textfield Value Should Be id=scottNumbers 3,4
30
+ Textfield Value Should Be id=yvertNumbers 5,6
31
+ Textfield Value Should Be id=gibbonsNumbers 7,8
32
+
20
33
Catalog numbers should ignore duplicate values
21
34
[Documentation] Verify that fields with catalog numbers ignore duplicate values
22
35
Select From List By Label id=category Sport
You can’t perform that action at this time.
0 commit comments