完善UI自动化用例,调整用例顺序

This commit is contained in:
byb11
2021-02-23 15:23:23 +08:00
parent 03e9306d0e
commit 6d96e5488e
21 changed files with 286 additions and 142 deletions

View File

@@ -69,12 +69,25 @@ TrustedCertificateAuthoritiesDownLoadCertificate
DownLoadFile ${path}keyrings//root//ca-cer.pem ${DownLoadPath}ca-cer.pem
DeleteAuthorities_del
TrustedCertificateAuthoritiesEditDefaultCertificate
[Tags] Positive UI Settings TrustedCertificateAuthorities
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[1] xpath
Settings-Search 1 id
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
sleep 1
SettingsElementAttributes //*[@id="appEdit"] el-button el-button--default el-button--small is-disabled class
TrustedCertificateAuthoritiesTurnPage
[Tags] Positive UI Settings TrustedCertificateAuthorities
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[1] xpath
TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[4]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[4]/div/button[1]
... //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[4]/div/span[2]/div/input 2 //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/p/span
TrustedCertificateAuthoritiesPagingDisplay
[Tags] Positive UI Settings TrustedCertificateAuthorities
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[1] xpath
PagingDisplay 50
TrustedCertificateAuthoritiesCreateNameMinSize
[Tags] Boundary UI name Settings TrustedCertificateAuthorities
importTrustedCertificateAuthorities test ${path}keyrings//root//ca-cer.pem name
@@ -115,6 +128,10 @@ TrustedCertificateAuthoritiesInportEntityCertificate
[Tags] Negtive UI Settings TrustedCertificateAuthorities
UploadFilesSize TrustedCertificateAuthorities InportEntityCertificate ${path}keyrings//end-entity//caentity.chain.pem End-entity certificate is not allowed to upload
TrustedCertificateAuthoritiesExpiredCertificate
[Tags] Negtive UI Settings TrustedCertificateAuthorities
UploadFilesSize TrustedCertificateAuthorities ${TEST NAME} ${path}keyrings//root//Expiredcertificate.pem Certificate expired
TrustedCertificateAuthoritiesInportEmptyFile
[Tags] Negtive UI Settings TrustedCertificateAuthorities
UploadFilesSize TrustedCertificateAuthorities InportNullFile ${path}keyrings//root//null.pem File content is empty