From 12bcc926d2c118f28a9ea4392c5881dcca9c73a1 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Wed, 2 Jun 2021 20:17:59 -0700 Subject: [PATCH] Fix test --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index 8d0b159..d02c8dd 100644 --- a/test/test.js +++ b/test/test.js @@ -125,7 +125,7 @@ describe('Application life cycle test', function () { function videoExists(done) { browser.get('https://' + app.fqdn + '/my-account/videos').then(function () { - return browser.wait(until.elementLocated(By.xpath('//a[@title="Cloudron Test Video"]')), TEST_TIMEOUT); + return browser.wait(until.elementLocated(By.xpath('//a[contains(@title, "Cloudron Test Video")]')), TEST_TIMEOUT); }).then(function () { return done(); });