Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #528 from bareos/dev/fbergkemper/master/fix-seleni…
…um-test

webui: fix a wrong find_element_by_xpath call
  • Loading branch information
fbergkemper committed May 25, 2020
2 parents cf7b6bf + 2709162 commit e1bbe25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui/tests/selenium/webui-selenium-test.py
Expand Up @@ -499,7 +499,7 @@ def login(self):
#)
self.enter_input("consolename", self.username)
self.enter_input("password", self.password)
driver.find_element_by_xpath('(//button[@type="button"])[2]').click()
driver.find_element_by_xpath('(//button[@type="button"])[1]').click()
driver.find_element_by_link_text("English").click()
driver.find_element_by_xpath('//input[@id="submit"]').click()
try:
Expand Down

0 comments on commit e1bbe25

Please sign in to comment.