From 6547dcfe0d4274a4c50b453bab3c9e84b6f63871 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Mon, 13 Sep 2021 11:20:09 -0700 Subject: [PATCH] typo --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);