-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test (e2e) : add e2e test for developer-password config option
+ Add additional assertions in basic test to verify that when no developer password is configured, then "developer" value is used for password + Add custom_developer_password e2e test to verify that when custom developer-password configuration option is provided, then that custom value is used as developer password Signed-off-by: Rohan Kumar <[email protected]>
- Loading branch information
1 parent
7fe3ca0
commit 42b0580
Showing
3 changed files
with
46 additions
and
18 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
@story_custom_developer_password | ||
Feature: Custom Developer Password Test | ||
|
||
User provides configuration property to override default developer user password | ||
|
||
Background: | ||
Given ensuring CRC cluster is running | ||
|
||
@linux @windows @darwin @cleanup | ||
Scenario: Override default developer password should be reflected during crc start | ||
Given executing "crc stop" succeeds | ||
And setting config property "developer-password" to value "secret-dev" succeeds | ||
When starting CRC with default bundle succeeds | ||
Then stdout should contain "Started the OpenShift cluster" | ||
And stdout should contain "Log in as administrator:" | ||
And stdout should contain " Username: kubeadmin" | ||
And stdout should contain "Log in as user:" | ||
And stdout should contain " Username: developer" | ||
And stdout should contain " Password: secret-dev" |