This commit is contained in:
Girish Ramakrishnan 2021-09-13 11:20:09 -07:00
parent fb0630314b
commit 6547dcfe0d

View file

@ -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);