From fd9d4fe72e8ba54ea969cabf5a637600a4559914 Mon Sep 17 00:00:00 2001 From: byb11 Date: Tue, 23 Feb 2021 18:31:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=AA=8C=E8=AF=81=E8=AF=81?= =?UTF-8?q?=E4=B9=A6=E5=A4=B1=E6=95=88=E5=BB=B6=E8=BF=9F=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E7=94=A8=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tsg_ui/ui_settings/DecryptionKeyringsCase.robot | 7 +++++++ .../ui_settings/TrustedCertificateAuthoritiesCase.robot | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/01-TestCase/tsg_ui/ui_settings/DecryptionKeyringsCase.robot b/01-TestCase/tsg_ui/ui_settings/DecryptionKeyringsCase.robot index f365adf..5e8ebc7 100644 --- a/01-TestCase/tsg_ui/ui_settings/DecryptionKeyringsCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/DecryptionKeyringsCase.robot @@ -145,6 +145,13 @@ DecryptionKeyringsCertificateExpired [Tags] Positive UI Settings DecryptionKeyrings DecryptionKeyringsErrorVerification ${TEST NAME} ${path}keyrings//root//zcwca-cer.pem ${path}keyrings//root//zcwca-key.pem certificateType_select0 keyringsadd_publicKeyAlgoSelet1 /html/body/div[last()]/p Certificate expired +DecryptionKeyringsCertificateExpirationDelay + [Tags] Positive UI Settings DecryptionKeyrings + OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath + Settings-Search CertificateExpirationDelay name + ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[3]/td[6]/div/div/div/span + Should Be Equal As Strings Expired ${text} + DecryptionKeyringsAllSearch [Tags] Positive UI Settings DecryptionKeyrings CreateDecryptionKeyrings ${TEST NAME} ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 2 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet1 name diff --git a/01-TestCase/tsg_ui/ui_settings/TrustedCertificateAuthoritiesCase.robot b/01-TestCase/tsg_ui/ui_settings/TrustedCertificateAuthoritiesCase.robot index d02a2d8..4479eab 100644 --- a/01-TestCase/tsg_ui/ui_settings/TrustedCertificateAuthoritiesCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/TrustedCertificateAuthoritiesCase.robot @@ -128,6 +128,13 @@ TrustedCertificateAuthoritiesModifiedTimeSortButton OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[1] xpath SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[10]/div/span/i Trusted Certificate Authorities +TrustedCertificateAuthoritiesCertificateExpirationDelay + [Tags] Positive UI Settings TrustedCertificateAuthorities + OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[1] xpath + Settings-Search CertificateExpirationDelay name + ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[3]/td[6]/div/div/div/span + Should Be Equal As Strings Expired ${text} + TrustedCertificateAuthoritiesCreateNameMinSize [Tags] Boundary UI name Settings TrustedCertificateAuthorities importTrustedCertificateAuthorities test ${path}keyrings//root//ca-cer.pem name