From 5b21f41bd2ab832758a5b5a6d8a76a1ac1581b19 Mon Sep 17 00:00:00 2001 From: JiviteshT <112479261+JiviteshT@users.noreply.github.com> Date: Fri, 21 Oct 2022 15:02:53 +0100 Subject: [PATCH] ABZU-58960-Fix failing functional tests in QA (#194) Co-authored-by: Jivitesh Trivedi --- PageObjects/essui-landingpageObjects.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PageObjects/essui-landingpageObjects.ts b/PageObjects/essui-landingpageObjects.ts index a7057f7b..9afe3d37 100644 --- a/PageObjects/essui-landingpageObjects.ts +++ b/PageObjects/essui-landingpageObjects.ts @@ -47,7 +47,7 @@ export class EssLandingPageObjects { this.startAgainLinkSelector = this.page.locator("a.linkStartAgain"); this.addSingleENCTextboxSelector = this.page.locator("//input[@placeholder='Type ENC cell name here']"); this.ENClistTableCol1 = this.page.locator('//table/tbody/tr/td[1]'); - this.MaxENCValue = this.page.locator('//div/div/div/p[1]'); + this.MaxENCValue = this.page.locator("//p[contains(text(),'You can upload')]"); this.MaxSelectedENCs = this.page.locator('//div/div/div/p[3]') }