diff options
author | agrajaghh <agrajaghh@gmail.com> | 2016-10-02 19:35:16 +0300 |
---|---|---|
committer | agrajaghh <agrajaghh@gmail.com> | 2016-10-02 19:35:16 +0300 |
commit | 5833be844345ec2b1064a9ed4f9168aebcf86c46 (patch) | |
tree | 365fcb448b60096bdcf75d3b3370cbd0990c06f1 /guiTests | |
parent | 830377d574763c4eda7422ea241992b80294244b (diff) |
fix selenium test
Diffstat (limited to 'guiTests')
-rw-r--r-- | guiTests/guiTest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guiTests/guiTest.py b/guiTests/guiTest.py index b42281152..09a1dadc6 100644 --- a/guiTests/guiTest.py +++ b/guiTests/guiTest.py @@ -126,7 +126,7 @@ wait_for_text(60, "//div[@class='task ng-scope']/dl[2]/dd[1]", "(took ") # Restore driver.find_element_by_link_text(BACKUP_NAME).click() -driver.find_element_by_xpath("//p[contains(text(),'Restore files ...')]").click() +driver.find_element_by_xpath("//span[contains(text(),'Restore files ...')]").click() driver.find_element_by_xpath("//span[contains(text(),'" + SOURCE_FOLDER + "')]") # wait for filelist time.sleep(1) driver.find_element_by_xpath("//restore-file-picker/ul/li/div/a[2]").click() # select root folder checkbox |