File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
java/ru/mystamps/web/tests/cases
robotframework/country/creation Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -65,13 +65,6 @@ public void shouldHaveStandardStructure() {
65
65
checkStandardStructure ();
66
66
}
67
67
68
- @ Test (groups = "valid" , dependsOnGroups = "std" )
69
- public void countryNameEnWithAllowedCharactersShouldBeAccepted () {
70
- page .addCountry ("Valid-Name Country" , "НазваниеСтраны" );
71
-
72
- assertThat (page ).field ("name" ).hasNoError ();
73
- }
74
-
75
68
@ Test (groups = "valid" , dependsOnGroups = "std" )
76
69
public void countryNameRuWithAllowedCharactersShouldBeAccepted () {
77
70
page .addCountry ("ValidName" , "Ёё Нормальное-название страны" );
Original file line number Diff line number Diff line change @@ -22,6 +22,14 @@ Country name should be modified by replacing multiple spaces by one
22
22
Textfield Value Should Be id=name t3 st
23
23
Textfield Value Should Be id=nameRu т3 ст
24
24
25
+ Country name in English should accept all allowed characters
26
+ [Documentation] Verify that various characters in name are allowed
27
+ Input Text id=name Valid-Name Country
28
+ # we also type invalid name in Russian to stay on this page
29
+ Input Text id=nameRu 1
30
+ Submit Form id=add-country-form
31
+ Page Should Not Contain Element id=name.errors
32
+
25
33
*** Keywords ***
26
34
Before Test Suite
27
35
[Documentation] Login as admin and go to create country page
You can’t perform that action at this time.
0 commit comments