Skip to content

Commit 69671ff

Browse files
committed
refactor(WhenAnonymousUserAtIndexPage): port shouldExistsLinkForListingCountries() to Robot Framework.
Addressed to #530 No functional changes.
1 parent 878d0e3 commit 69671ff

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,6 @@ public void shouldExistsWelcomeText() {
4242
assertThat(page.textPresent(tr("t_you_may"))).isTrue();
4343
}
4444

45-
@Test(groups = "misc")
46-
public void shouldExistsLinkForListingCountries() {
47-
assertThat(page.linkWithLabelExists(tr("t_show_countries_list")))
48-
.overridingErrorMessage("should exists link to page for listing countries")
49-
.isTrue();
50-
}
51-
5245
@Test(groups = "misc")
5346
public void linkForAddingSeriesShouldBeAbsent() {
5447
assertThat(page.linkWithLabelExists(tr("t_add_series")))

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ Anonymous should see a link for listing categories
1010
[Tags] category
1111
Page Should Contain Link link=show list of categories
1212

13+
Anonymous should see a link for listing countries
14+
[Tags] country
15+
Page Should Contain Link link=show list of countries
16+
1317
*** Keywords ***
1418
Before Test Suite
1519
Open Browser ${SITE_URL} ${BROWSER}

0 commit comments

Comments
 (0)