Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Hsu <kennethhsu@gmail.com>2019-09-20 02:30:51 +0300
committerKenneth Hsu <kennethhsu@gmail.com>2019-09-20 20:17:50 +0300
commitdd09bad2f28dfb27f265a4d7e85e0fd103b086a4 (patch)
treee8d6f0b0c9b10bd2ae4db77d4e35320f11ee36c8 /guiTests
parent0cfbfb8c1e0f4a0b443b55f1152ba32b0395f1b9 (diff)
Fix search for ellipsis in GUI tests.
The three periods were replaced by an ellipsis in revision 7ff50a30e1 (pull request #3885).
Diffstat (limited to 'guiTests')
-rw-r--r--guiTests/guiTest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/guiTests/guiTest.py b/guiTests/guiTest.py
index d2586e9e8..882c8b0a6 100644
--- a/guiTests/guiTest.py
+++ b/guiTests/guiTest.py
@@ -142,10 +142,10 @@ driver.find_element_by_link_text(BACKUP_NAME).click()
wait_for_text(60, "//div[@class='task ng-scope']/dl[2]/dd[1]", "(took ")
# Restore
-if len([n for n in driver.find_elements_by_xpath("//span[contains(text(),'Restore files ...')]") if n.is_displayed()]) == 0:
+if len([n for n in driver.find_elements_by_xpath(u"//span[contains(text(),'Restore files \u2026')]") if n.is_displayed()]) == 0:
driver.find_element_by_link_text(BACKUP_NAME).click()
-[n for n in driver.find_elements_by_xpath("//span[contains(text(),'Restore files ...')]") if n.is_displayed()][0].click()
+[n for n in driver.find_elements_by_xpath(u"//span[contains(text(),'Restore files \u2026')]") if n.is_displayed()][0].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