Skip to content

Commit e7add79

Browse files
committed
WhenAdminAtIndexPage.shouldExistsLinkForListingCategories(): port to Robot Framework.
Addressed to #530 No functional changes.
1 parent b50a1fe commit e7add79

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/test/java/ru/mystamps/web/tests/cases/WhenAdminAtIndexPage.java

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,4 @@ public void shouldExistsWelcomeText() {
5757
assertThat(page.textPresent(tr("t_you_may"))).isTrue();
5858
}
5959

60-
@Test(groups = "misc")
61-
public void shouldExistsLinkForListingCategories() {
62-
assertThat(page.linkWithLabelExists(tr("t_show_categories_list")))
63-
.overridingErrorMessage("should exists link to page for listing categories")
64-
.isTrue();
65-
}
66-
6760
}

src/test/robotframework/site/misc-admin.robot

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ Admin should see a link for adding categories
3131
[Tags] category
3232
Page Should Contain Link link=add category
3333

34+
Admin should see a link for listing categories
35+
[Tags] category
36+
Page Should Contain Link link=show list of categories
37+
3438
*** Keywords ***
3539
Before Test Suite
3640
Open Browser ${SITE_URL} ${BROWSER}

0 commit comments

Comments
 (0)