File tree Expand file tree Collapse file tree 3 files changed +7
-55
lines changed
java/ru/mystamps/web/tests/cases Expand file tree Collapse file tree 3 files changed +7
-55
lines changed Original file line number Diff line number Diff line change 31
31
</classes >
32
32
</test >
33
33
34
- <test name =" When anonymous user open not existing category page" >
35
- <classes >
36
- <class name =" ru.mystamps.web.tests.cases.WhenAnonymousUserOpenNotExistingCategoryPage" />
37
- </classes >
38
- </test >
39
-
40
34
<test name =" When admin add country" >
41
35
<classes >
42
36
<class name =" ru.mystamps.web.tests.cases.WhenAdminAddCountry" />
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
*** Settings ***
2
- Documentation Verify access to category related pages
2
+ Documentation Verify access to category related pages (including non-existing)
3
3
Library Selenium2Library
4
4
Suite Setup Before Test Suite
5
5
Suite Teardown After Test Suite
@@ -12,6 +12,12 @@ Anonymous user cannot create category
12
12
Element Text Should Be id=error-code 403
13
13
Element Text Should Be id=error-msg Forbidden
14
14
15
+ Opening a page of non-existing category show an error
16
+ [Documentation] Verify that access to non-existing category returns 404 error
17
+ Go To ${SITE_URL } /category/category-404-error-test
18
+ Element Text Should Be id=error-code 404
19
+ Element Text Should Be id=error-msg Requested page${\n } not found
20
+
15
21
*** Keywords ***
16
22
Before Test Suite
17
23
[Documentation] Open browser and register fail hook
You can’t perform that action at this time.
0 commit comments