File tree Expand file tree Collapse file tree 2 files changed +21
-8
lines changed
java/ru/mystamps/web/tests/cases
robotframework/account/authentication Expand file tree Collapse file tree 2 files changed +21
-8
lines changed Original file line number Diff line number Diff line change @@ -52,14 +52,6 @@ public void openPage() {
52
52
page .open ();
53
53
}
54
54
55
- @ Test (groups = "invalid" )
56
- public void emptyValuesShouldBeConsideredAsInvalidCredentials () {
57
- page .authorizeUser ("" , "" );
58
-
59
- assertThat (page .getFormError ())
60
- .isEqualTo (tr ("AbstractUserDetailsAuthenticationProvider.badCredentials" ));
61
- }
62
-
63
55
@ Test (groups = "invalid" )
64
56
public void invalidCredentialsShouldBeRejected () {
65
57
page .authorizeUser (invalidUserLogin , invalidUserPassword );
Original file line number Diff line number Diff line change
1
+ *** Settings ***
2
+ Documentation Verify account authentication validation scenarios
3
+ Library SeleniumLibrary
4
+ Suite Setup Before Test Suite
5
+ Suite Teardown After Test Suite
6
+ Force Tags account authentication validation
7
+
8
+ *** Test Cases ***
9
+ Authenticate with empty credentials
10
+ Input Text id=login ${EMPTY }
11
+ Input Text id=password ${EMPTY }
12
+ Submit Form id=auth-account-form
13
+ Element Text Should Be id=form.errors Invalid login or password
14
+
15
+ *** Keywords ***
16
+ Before Test Suite
17
+ Open Browser ${SITE_URL } /account/auth ${BROWSER }
18
+ Register Keyword To Run On Failure Log Source
19
+
20
+ After Test Suite
21
+ Close Browser
You can’t perform that action at this time.
0 commit comments