forked from goharbor/harbor
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request goharbor#3475 from pengpengshui/master
add checkbox on config-email page and test code, modify project access level label
- Loading branch information
Showing
8 changed files
with
24 additions
and
6 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
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 |
---|---|---|
|
@@ -147,6 +147,9 @@ Config Email | |
Mouse Down xpath=//*[@id="clr-checkbox-emailSSL"] | ||
Mouse Up xpath=//*[@id="clr-checkbox-emailSSL"] | ||
Sleep 1 | ||
Mouse Down xpath=//*[@id="clr-checkbox-emailInsecure"] | ||
Mouse Up xpath=//*[@id="clr-checkbox-emailInsecure"] | ||
Sleep 1 | ||
Click Element xpath=/html/body/harbor-app/harbor-shell/clr-main-container/div/div/config/div/div/div/button[1] | ||
Sleep 6 | ||
|
||
|
@@ -155,7 +158,8 @@ Verify Email | |
Textfield Value Should Be xpath=//*[@id="emailPort"] 25 | ||
Textfield Value Should Be xpath=//*[@id="emailUsername"] [email protected] | ||
Textfield Value Should Be xpath=//*[@id="emailFrom"] example<[email protected]> | ||
Checkbox Should Be Selected xpath=//*[@id="clr-checkbox-emailSSL"] | ||
Checkbox Should Be Selected xpath=//*[@id="clr-checkbox-emailSSL"] | ||
Checkbox Should Be Selected xpath=//*[@id="clr-checkbox-emailInsecure"] | ||
|
||
Set Scan All To None | ||
click element //vulnerability-config//select | ||
|