@@ -3,21 +3,22 @@ Documentation Verify category creation scenarios
33Library Collections
44Library Selenium2Library
55Resource ../../auth.steps.robot
6+ Resource ../../selenium.utils.robot
67Suite Setup Before Test Suite
78Suite Teardown After Test Suite
89Test Setup Before Test
910Force Tags category logic
1011
1112*** Test Cases ***
1213Create category with name in English (fill only mandatory fields)
13- Input Text id=name Cars
14- Submit Form id=add-category-form
15- Location Should Be ${SITE_URL } /category/cars
16- Element Text Should Be id=page-header Cars
17- Element Text Should Be id=msg-success Category has been added. ${ \n } Now you could proceed with creating series.
18- Go To ${SITE_URL } /series/add
19- ${availableCategories } = Get List Items id=category
20- List Should Contain Value ${availableCategories } Cars
14+ Input Text id=name Cars
15+ Submit Form id=add-category-form
16+ Location Should Be ${SITE_URL } /category/cars
17+ Element Text Should Be id=page-header Cars
18+ Element Text Should Match Regexp id=msg-success Category has been added\.[\\n\\r]+ Now you could proceed with creating series\ .
19+ Go To ${SITE_URL } /series/add
20+ ${availableCategories } = Get List Items id=category
21+ List Should Contain Value ${availableCategories } Cars
2122 # TODO: verify that after changing language, header will be in English
2223
2324Create category with name in English and Russian
0 commit comments