Skip to content

Commit

Permalink
update selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
foot committed Sep 13, 2023
1 parent 5867831 commit c108e93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/acceptance/test/pages/clusters_page.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ func GetClusterStatus(webDriver *agouti.Page) *ClusterStatus {

func GetClusterInfrastructure(webDriver *agouti.Page) *ClusterInfrastructure {
return &ClusterInfrastructure{
Kind: webDriver.FindByXPath(`//tr/td[.="Kind:"]/following-sibling::td`),
ApiVersion: webDriver.FindByButton(`//tr/td[.="APIVersion:"]/following-sibling::td`),
Kind: webDriver.Find(`[data-testid="Kind"] :last-child`),
ApiVersion: webDriver.Find(`[data-testid="APIVersion"] :last-child`),
}
}

Expand Down

0 comments on commit c108e93

Please sign in to comment.