-
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.
test: Use input_text("\n") instead of key("Enter") in most places
- Loading branch information
1 parent
d363278
commit 60ca4b4
Showing
5 changed files
with
14 additions
and
28 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 |
---|---|---|
|
@@ -754,8 +754,7 @@ ipa-advise enable-admins-sudo | sh -ex | |
b.open("/system/terminal") | ||
b.enter_page("/system/terminal") | ||
b.wait_in_text(".terminal .xterm-accessibility-tree", "alice") | ||
b.input_text("klist") | ||
b.key("Enter") | ||
b.input_text("klist\n") | ||
b.wait_in_text(".terminal .xterm-accessibility-tree", "Ticket cache: FILE:/run/user") | ||
b.wait_in_text(".terminal .xterm-accessibility-tree", "Default principal: [email protected]") | ||
b.wait_in_text(".terminal .xterm-accessibility-tree", "for client HTTP/[email protected]") | ||
|
@@ -1057,8 +1056,7 @@ class TestKerberos(testlib.MachineCase): | |
b.enter_page("/system/terminal") | ||
# wait for prompt | ||
b.wait_in_text(".terminal .xterm-accessibility-tree", "admin") | ||
b.input_text("klist") | ||
b.key("Enter") | ||
b.input_text("klist\n") | ||
b.wait_in_text(".terminal .xterm-accessibility-tree", "Ticket cache") | ||
b.wait_in_text(".terminal .xterm-accessibility-tree", "Default principal: [email protected]") | ||
b.wait_in_text(".terminal .xterm-accessibility-tree", "krbtgt/COCKPIT.LAN") | ||
|
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