Fix typo in selenium test
For selenium v3 the proper syntax is link = browser.find_element_by_link_text(link_name) not link = browser.find_element_by_text_link(link_name) Change-Id: I9f6062bae5caaa840208e90e8f29b63bf52d113b
This commit is contained in:
parent
e325bd6bcb
commit
d097c3bf24
@ -15,7 +15,7 @@ apiVersion: v1
|
||||
appVersion: v1.0.0
|
||||
description: OpenStack-Helm Nagios
|
||||
name: nagios
|
||||
version: 0.1.9
|
||||
version: 0.1.10
|
||||
home: https://www.nagios.org
|
||||
sources:
|
||||
- https://opendev.org/openstack/openstack-helm-addons
|
||||
|
@ -56,7 +56,7 @@ def click_link_by_name(link_name):
|
||||
{{- if .Values.selenium_v4 }}
|
||||
link = browser.find_element(By.LINK_TEXT, link_name)
|
||||
{{- else }}
|
||||
link = browser.find_element_by_text_link(link_name)
|
||||
link = browser.find_element_by_link_text(link_name)
|
||||
{{- end }}
|
||||
link.click()
|
||||
except NoSuchElementException:
|
||||
|
@ -10,4 +10,5 @@ nagios:
|
||||
- 0.1.7 Upgrade osh-selenium image to latest-ubuntu_focal
|
||||
- 0.1.8 Use helm toolkit for readiness probes
|
||||
- 0.1.9 Make using selenium v4 syntax optional
|
||||
- 0.1.10 Correct selenium v3 syntax
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user