mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 12:15:20 +01:00
Fix xpath in go to project robot case
Global search bug fix introduced test case failure, fix it by edit xpath Signed-off-by: Qian Deng <dengq@vmware.com>
This commit is contained in:
parent
399c9c44d8
commit
9dd509e0eb
@ -6,15 +6,15 @@
|
||||
<!-- spinner -->
|
||||
<div class="spinner spinner-lg search-spinner" [hidden]="done">{{'SEARCH.IN_PROGRESS' | translate}}</div>
|
||||
<div id="results">
|
||||
<div class="project-results">
|
||||
<div id="project-results">
|
||||
<h2>{{'PROJECT.PROJECTS' | translate}}</h2>
|
||||
<list-project-ro [projects]="searchResults.project"></list-project-ro>
|
||||
</div>
|
||||
<div class="repo-results">
|
||||
<div id="repo-results">
|
||||
<h2>{{'PROJECT_DETAIL.REPOSITORIES' | translate}}</h2>
|
||||
<list-repository-ro [repositories]="searchResults.repository"></list-repository-ro>
|
||||
</div>
|
||||
<div *ngIf="withHelmChart" class="chart-results">
|
||||
<div *ngIf="withHelmChart" id="chart-results">
|
||||
<h2>{{'HELM_CHART.HELMCHARTS' | translate}}</h2>
|
||||
<list-chart-version-ro [charts]="searchResults.Chart"></list-chart-version-ro>
|
||||
</div>
|
||||
|
@ -28,7 +28,7 @@ Go Into Project
|
||||
Input Text xpath=//*[@id="search_input"] ${project}
|
||||
Sleep 8
|
||||
Wait Until Page Contains ${project}
|
||||
Click Element xpath=//*[@id="results"]/list-project-ro//clr-dg-cell[contains(.,"${project}")]/a
|
||||
Click Element xpath=//*[@id="project-results"]//clr-dg-cell[contains(.,"${project}")]/a
|
||||
Sleep 2
|
||||
Capture Page Screenshot gointo_${project}.png
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user