File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed
java/ru/mystamps/web/tests/cases
robotframework/category/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 categoryNameEnWithAllowedCharactersShouldBeAccepted () {
70
- page .addCategory ("Valid-Name Category" , "InvalidRussianCategory" );
71
-
72
- assertThat (page ).field ("name" ).hasNoError ();
73
- }
74
-
75
68
@ Test (groups = "valid" , dependsOnGroups = "std" )
76
69
public void categoryNameRuWithAllowedCharactersShouldBeAccepted () {
77
70
page .addCategory ("НевернаяКатегорияНаАнглийском" , "Категория Ёё" );
Original file line number Diff line number Diff line change @@ -22,6 +22,14 @@ Category 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
+ Category 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 Category
28
+ # we also type invalid name in Russian to stay on this page
29
+ Input Text id=nameRu 1
30
+ Submit Form id=add-category-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 category page
You can’t perform that action at this time.
0 commit comments