mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-31 03:51:23 +01:00
Fix xpath in robot case
1. Fix xpath of Upload button 2. Fix xpath of status span Signed-off-by: Qian Deng <dengq@vmware.com>
This commit is contained in:
parent
62cdccc5dd
commit
dfeb1924c6
@ -71,7 +71,7 @@ export class ListReplicationRuleComponent implements OnInit, OnChanges {
|
|||||||
@Output() hideJobs = new EventEmitter<any>();
|
@Output() hideJobs = new EventEmitter<any>();
|
||||||
@Output() redirect = new EventEmitter<ReplicationRule>();
|
@Output() redirect = new EventEmitter<ReplicationRule>();
|
||||||
@Output() openNewRule = new EventEmitter<any>();
|
@Output() openNewRule = new EventEmitter<any>();
|
||||||
@Output() replicateManual = new EventEmitter<ReplicationRule[]>();
|
@Output() replicateManual = new EventEmitter<ReplicationRule>();
|
||||||
|
|
||||||
projectScope = false;
|
projectScope = false;
|
||||||
|
|
||||||
@ -148,7 +148,7 @@ export class ListReplicationRuleComponent implements OnInit, OnChanges {
|
|||||||
}
|
}
|
||||||
|
|
||||||
replicateRule(rule: ReplicationRule): void {
|
replicateRule(rule: ReplicationRule): void {
|
||||||
this.replicateManual.emit([rule]);
|
this.replicateManual.emit(rule);
|
||||||
}
|
}
|
||||||
|
|
||||||
hasDeletedLabel(rule: any) {
|
hasDeletedLabel(rule: any) {
|
||||||
|
@ -3,7 +3,7 @@ Documentation This resource provides any keywords related to the Harbor private
|
|||||||
|
|
||||||
*** Variables ***
|
*** Variables ***
|
||||||
|
|
||||||
${upload_chart_button} //project-list-charts/hbr-helm-chart//clr-dg-action-bar/button[contains(.,"upload")]
|
${upload_chart_button} //button[contains(.,"Upload")]
|
||||||
${chart_file_browse} //*[@id="chart"]
|
${chart_file_browse} //*[@id="chart"]
|
||||||
${chart_prov_browse} //*[@id="prov"]
|
${chart_prov_browse} //*[@id="prov"]
|
||||||
${upload_action_button} //clr-modal//form/div/button[contains(.,"Upload")]
|
${upload_action_button} //clr-modal//form/div/button[contains(.,"Upload")]
|
||||||
|
@ -62,6 +62,6 @@ Enable Scan On Push
|
|||||||
Sleep 10
|
Sleep 10
|
||||||
|
|
||||||
Vulnerability Not Ready Project Hint
|
Vulnerability Not Ready Project Hint
|
||||||
Page Should Contain Element //span[@class="db-status-warning"]
|
Page Should Contain Element //span[contains(@class, "db-status-warning")]
|
||||||
Vulnerability Not Ready Config Hint
|
Vulnerability Not Ready Config Hint
|
||||||
Page Should Contain Element //vulnerability-config//clr-tooltip
|
Page Should Contain Element //vulnerability-config//clr-tooltip
|
||||||
|
Loading…
Reference in New Issue
Block a user