Skip to content

Commit 0e3c81d

Browse files
committed
WhenAnonymousUserActivateAccount.mostShortLoginShouldBeAccepted(): port to Robot Framework.
Addressed to #530 No functional changes.
1 parent 5ad4891 commit 0e3c81d

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
@@ -55,13 +55,6 @@ public void shouldHaveStandardStructure() {
5555
checkStandardStructure();
5656
}
5757

58-
@Test(groups = "valid", dependsOnGroups = "std")
59-
public void mostShortLoginShouldBeAccepted() {
60-
page.activateAccount("ab", null, null, null, null);
61-
62-
assertThat(page).field("login").hasNoError();
63-
}
64-
6558
@Test(groups = "invalid", dependsOnGroups = "std")
6659
public void loginShouldNotBeTooLong() {
6760
page.activateAccount("abcde12345fghkl6", 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
@@ -10,6 +10,11 @@ Activation key should be auto filled from url
1010
Go To ${SITE_URL}/account/activate?key=7777744444
1111
Textfield Value Should Be id=activationKey 7777744444
1212

13+
Most short login should be accepted
14+
Input Text id=login ab
15+
Submit Form id=activate-account-form
16+
Page Should Not Contain Element id=login.errors
17+
1318
*** Keywords ***
1419
Before Test Suite
1520
Open Browser ${SITE_URL} ${BROWSER}

0 commit comments

Comments
 (0)