diff --git a/test/test.js b/test/test.js index 2e4dc8d..368d3a7 100644 --- a/test/test.js +++ b/test/test.js @@ -102,7 +102,7 @@ describe('Application life cycle test', function () { function checkFolder(callback) { browser.get('https://' + app.fqdn).then(function () { - return browser.wait(until.elementLocated(by.xpath(`//span[text()="${FOLDER}"]`), TEST_TIMEOUT)); + return browser.wait(until.elementLocated(by.xpath(`//span[text()="${FOLDER}"]`)), TEST_TIMEOUT); }).then(function () { callback(); });