mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-27 19:17:47 +01:00
Add project tab routing test case
Add this test case to make sure the project tab routing is routed correctly Signed-off-by: Yang Jiao <jiaoya@vmware.com>
This commit is contained in:
parent
bb6693b496
commit
4f6042e586
@ -44,3 +44,24 @@ Test Case - Main Menu Routing
|
||||
FOR ${key} IN @{routing.keys()}
|
||||
Retry Double Keywords When Error Go To ${HARBOR_URL}/${key} Retry Wait Element ${routing['${key}']}
|
||||
END
|
||||
|
||||
Test Case - Project Tab Routing
|
||||
[Tags] project_tab_routing
|
||||
Init Chrome Driver
|
||||
Sign In Harbor ${HARBOR_URL} ${HARBOR_ADMIN} ${HARBOR_PASSWORD}
|
||||
&{routing}= Create Dictionary harbor/projects/1/summary=//project-detail//summary
|
||||
... harbor/projects/1/repositories=//project-detail//hbr-repository-gridview
|
||||
... harbor/projects/1/helm-charts=//project-detail//project-list-charts
|
||||
... harbor/projects/1/members=//project-detail//ng-component//button//span[contains(.,'User')]
|
||||
... harbor/projects/1/labels=//project-detail//app-project-config//hbr-label
|
||||
... harbor/projects/1/scanner=//project-detail//scanner
|
||||
... harbor/projects/1/p2p-provider/policies=//project-detail//ng-component//button//span[contains(.,'NEW POLICY')]
|
||||
... harbor/projects/1/tag-strategy/tag-retention=//project-detail//app-tag-feature-integration//tag-retention
|
||||
... harbor/projects/1/tag-strategy/immutable-tag=//project-detail//app-tag-feature-integration//app-immutable-tag
|
||||
... harbor/projects/1/robot-account=//project-detail//app-robot-account
|
||||
... harbor/projects/1/webhook=//project-detail//ng-component//button//span[contains(.,'New Webhook')]
|
||||
... harbor/projects/1/logs=//project-detail//audit-log
|
||||
... harbor/projects/1/configs=//project-detail//app-project-config//hbr-project-policy-config
|
||||
FOR ${key} IN @{routing.keys()}
|
||||
Retry Double Keywords When Error Go To ${HARBOR_URL}/${key} Retry Wait Element ${routing['${key}']}
|
||||
END
|
Loading…
Reference in New Issue
Block a user