Skip to content

Commit b50a1fe

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

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,13 +57,6 @@ public void shouldExistsWelcomeText() {
5757
assertThat(page.textPresent(tr("t_you_may"))).isTrue();
5858
}
5959

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

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ Admin should see a link for listing countries
2727
[Tags] country
2828
Page Should Contain Link link=show list of countries
2929

30+
Admin should see a link for adding categories
31+
[Tags] category
32+
Page Should Contain Link link=add category
33+
3034
*** Keywords ***
3135
Before Test Suite
3236
Open Browser ${SITE_URL} ${BROWSER}

0 commit comments

Comments
 (0)