File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
java/ru/mystamps/web/tests/cases Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -42,13 +42,6 @@ public void shouldExistsWelcomeText() {
42
42
assertThat (page .textPresent (tr ("t_you_may" ))).isTrue ();
43
43
}
44
44
45
- @ Test (groups = "misc" )
46
- public void linkForAddingCategoriesShouldBeAbsent () {
47
- assertThat (page .linkWithLabelExists (tr ("t_create_category" )))
48
- .overridingErrorMessage ("should absent link to page for adding categories" )
49
- .isFalse ();
50
- }
51
-
52
45
@ Test (groups = "misc" )
53
46
public void linkForAddingCountriesShouldBeAbsent () {
54
47
assertThat (page .linkWithLabelExists (tr ("t_add_country" )))
Original file line number Diff line number Diff line change @@ -10,6 +10,10 @@ Anonymous should see a link for listing categories
10
10
[Tags] category
11
11
Page Should Contain Link link=show list of categories
12
12
13
+ Anonymous should not see a link for adding categories
14
+ [Tags] category
15
+ Page Should Not Contain Link link=add a category
16
+
13
17
Anonymous should see a link for listing countries
14
18
[Tags] country
15
19
Page Should Contain Link link=show list of countries
You can’t perform that action at this time.
0 commit comments