-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
login: Split alert into title/description
This makes it conformant to the current PF design. Bring the DOM structure closer to current PF5's alert, and adjust/simplify CSS accordingly. Thanks Garrett for working this out! Also tighten the error message checks in the tests, in particular for check-ws-bastion. Rework the "no-cockpit" message: Telling the user which OSes are supported is nice at some level, but doesn't help operationally when they want to connect to *that* server. Thus, suggest to install cockpit-system, which is the recommended way out of this error.
- Loading branch information
1 parent
d7a1db2
commit c36f441
Showing
9 changed files
with
143 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -158,7 +158,7 @@ exec "$@" | |
b.wait_text("#conversation-prompt", "[email protected]'s password: ") | ||
b.set_val("#conversation-input", "wrong") | ||
b.click("#login-button") | ||
b.wait_in_text("#login-error-message", "Authentication failed") | ||
b.wait_in_text("#login-error-title", "Authentication failed") | ||
b.wait_val("#server-field", "10.111.113.2") | ||
|
||
# connect to most recent host | ||
|
@@ -217,7 +217,8 @@ exec "$@" | |
# unreachable host | ||
b.set_val("#server-field", "unknownhost") | ||
b.click("#login-button") | ||
b.wait_in_text("#login-error-message", "Host is unknown") | ||
b.wait_text("#login-error-title", "Refusing to connect") | ||
b.wait_text("#login-error-message", "Host is unknown") | ||
b.wait_val("#server-field", "unknownhost") | ||
# does not appear in recent hosts | ||
b.wait_in_text("#recent-hosts-list", "10.111.113.2") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.