File tree 2 files changed +7
-12
lines changed
java/ru/mystamps/web/tests/cases
robotframework/series/creation
2 files changed +7
-12
lines changed Original file line number Diff line number Diff line change 26
26
27
27
import ru .mystamps .web .tests .page .AddSeriesPage ;
28
28
29
- import static ru .mystamps .web .tests .fest .PageWithFormAssert .assertThat ;
30
-
31
29
/**
32
30
* The main difference between this test and {@link WhenUserAddSeries} is that as admin we have
33
31
* additional field for comment.
@@ -64,14 +62,4 @@ public void shouldHaveStandardStructure() {
64
62
checkStandardStructure ();
65
63
}
66
64
67
- @ Test (groups = "misc" , dependsOnGroups = "std" )
68
- public void commentShouldBeStripedFromLeadingAndTrailingSpaces () {
69
- page .showComment ();
70
- page .fillComment (" example comment " );
71
-
72
- page .submit ();
73
-
74
- assertThat (page ).field ("comment" ).hasValue ("example comment" );
75
- }
76
-
77
65
}
Original file line number Diff line number Diff line change @@ -76,6 +76,13 @@ Issue year should have options for range from 1840 to the current year
76
76
List Should Contain Value ${availableYears } ${currentYear }
77
77
Should Be Equal As Integers ${numberOfYears } ${expectedNumberOfYears }
78
78
79
+ Comment should be stripped from leading and trailing spaces
80
+ [Documentation] Verify removing of leading and trailing spaces from a comment
81
+ Click Element id=add-comment-link
82
+ Input Text id=comment ${SPACE * 2 } example comment${SPACE * 2 }
83
+ Submit Form id=add-series-form
84
+ Textarea Value Should Be id=comment example comment
85
+
79
86
*** Keywords ***
80
87
Before Test Suite
81
88
[Documentation] Login as admin and go to create series page
You can’t perform that action at this time.
0 commit comments