diff --git a/tests/ExACT_dashboardMyContent.js b/tests/ExACT_dashboardMyContent.js index 6591e20..cb8a840 100644 --- a/tests/ExACT_dashboardMyContent.js +++ b/tests/ExACT_dashboardMyContent.js @@ -1765,7 +1765,7 @@ const steps = [ { description: 'Wait for DIV to open', action: async () => { - return await driver.wait(until.elementLocated(By.css('.modal-header:nth-child(4) > .modal-title')), 10000).catch(() => false); + return await driver.wait(until.elementLocated(By.css('.modal-header:nth-child(5) > .modal-title')), 10000).catch(() => false); } }, @@ -1773,7 +1773,7 @@ const steps = [ { description: 'Validate export content set DIV title', action: async () => { - const elementText = await driver.findElement(By.css('.modal-header:nth-child(4) > .modal-title')).getText(); + const elementText = await driver.findElement(By.css('.modal-header:nth-child(5) > .modal-title')).getText(); if (elementText !== 'Export Content') { throw new Error(`Expected: Export set DIV title did not match; Actual: "${elementText}"`); } @@ -1785,7 +1785,7 @@ const steps = [ { description: 'Validate Export Content Set DIV Title text font size', action: async () => { - const elementStyle = await driver.findElement(By.css('.modal-header:nth-child(4) > .modal-title')).getCssValue('font-size'); + const elementStyle = await driver.findElement(By.css('.modal-header:nth-child(5) > .modal-title')).getCssValue('font-size'); if (elementStyle !== '18px') { throw new Error(`Expected: Export Content Set DIV Title text font-size did not match; Actual: "${elementStyle}"`); }