Skip to content

Commit 192b14d

Browse files
committed
WhenAnonymousUserActivateAccount.mostLongLoginShouldBeAccepted(): port to Robot Framework.
Addressed to #530 No functional changes.
1 parent 533b28a commit 192b14d

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

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

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -54,13 +54,6 @@ public void shouldHaveStandardStructure() {
5454
checkStandardStructure();
5555
}
5656

57-
@Test(groups = "valid", dependsOnGroups = "std")
58-
public void mostLongLoginShouldBeAccepted() {
59-
page.activateAccount("abcde1234567890", null, null, null, null);
60-
61-
assertThat(page).field("login").hasNoError();
62-
}
63-
6457
@Test(groups = "valid", dependsOnGroups = "std")
6558
public void loginWithAllowedCharactersShouldBeAccepted() {
6659
page.activateAccount("t.3.s.7-T_E_S_T", null, null, null, null);

src/test/robotframework/account/activation/misc.robot

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ Most short login should be accepted
1515
Submit Form id=activate-account-form
1616
Page Should Not Contain Element id=login.errors
1717

18+
Most long login should be accepted
19+
Input Text id=login abcde1234567890
20+
Submit Form id=activate-account-form
21+
Page Should Not Contain Element id=login.errors
22+
1823
*** Keywords ***
1924
Before Test Suite
2025
Open Browser ${SITE_URL} ${BROWSER}

0 commit comments

Comments
 (0)