diff --git a/test/test.js b/test/test.js index a125792..848614c 100644 --- a/test/test.js +++ b/test/test.js @@ -59,7 +59,7 @@ describe('Application life cycle test', function () { }).then(function () { return browser.findElement(By.xpath('//input[@value="Login"]')).click(); }).then(function () { - if (app.version === '2.4.0') { + if (app.manifest.version === '2.4.0') { return browser.wait(until.elementLocated(By.xpath('//a[contains(@href, "/my-library")]')), TEST_TIMEOUT); } else { return browser.wait(until.elementLocated(By.xpath('//div[contains(text(), "MY LIBRARY")]')), TEST_TIMEOUT);