File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
java/ru/mystamps/web/tests/cases
robotframework/country/creation Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 29
29
import ru .mystamps .web .tests .page .AddCountryPage ;
30
30
31
31
import static ru .mystamps .web .tests .TranslationUtils .tr ;
32
- import static ru .mystamps .web .tests .fest .PageWithFormAssert .assertThat ;
33
32
34
33
public class WhenAdminAddCountry extends WhenAnyUserAtAnyPageWithForm <AddCountryPage > {
35
34
@@ -65,13 +64,6 @@ public void shouldHaveStandardStructure() {
65
64
checkStandardStructure ();
66
65
}
67
66
68
- @ Test (groups = "valid" , dependsOnGroups = "std" )
69
- public void countryNameRuWithAllowedCharactersShouldBeAccepted () {
70
- page .addCountry ("ValidName" , "Ёё Нормальное-название страны" );
71
-
72
- assertThat (page ).field ("nameRu" ).hasNoError ();
73
- }
74
-
75
67
@ Override
76
68
protected void checkServerResponseCode () {
77
69
// Ignore this check because server always returns 403 for anonymous user and our test suite
Original file line number Diff line number Diff line change @@ -30,6 +30,14 @@ Country name in English should accept all allowed characters
30
30
Submit Form id=add-country-form
31
31
Page Should Not Contain Element id=name.errors
32
32
33
+ Country name in Russian should accept all allowed characters
34
+ [Documentation] Verify that various characters in name are allowed
35
+ Input Text id=nameRu Ёё Нормальное-название страны
36
+ # we also type invalid name in English to stay on this page
37
+ Input Text id=name 1
38
+ Submit Form id=add-country-form
39
+ Page Should Not Contain Element id=nameRu.errors
40
+
33
41
*** Keywords ***
34
42
Before Test Suite
35
43
[Documentation] Login as admin and go to create country page
You can’t perform that action at this time.
0 commit comments