diff --git a/tests/ExACT_alignContentPage.js b/tests/ExACT_alignContentPage.js index 0d0e8fd..e43aa63 100644 --- a/tests/ExACT_alignContentPage.js +++ b/tests/ExACT_alignContentPage.js @@ -57,9 +57,9 @@ const steps = [ //NEXT ACTION - Navigate to Align page { description: 'Click Align navigation link', action: async () => await driver.findElement(By.linkText('Align')).click() }, - //Wait for dashboard to load - Correlation Coverages View Details button + //Wait for page to load - Correlation Coverages View Details button { - description: 'Wait for dashboard load to completely', + description: 'Wait for page load to completely', action: async () => { return await driver.wait(until.elementLocated(By.css('h2')), 10000).catch(() => false); } @@ -308,9 +308,9 @@ const steps = [ //NEXT ACTION - Click Advanced Options link { description: 'Click Advanced Options link', action: async () => await driver.findElement(By.linkText('Advanced Options')).click() }, - //Wait for dashboard to load - Correlation Coverages View Details button + //Wait for DIV to load - Correlation Coverages View Details button { - description: 'Wait for dashboard load to completely', + description: 'Wait for DIV load to completely', action: async () => { return await driver.wait(until.elementLocated(By.css('#searchbox-content > p')), 10000).catch(() => false); } diff --git a/tests/ExACT_editItem.js b/tests/ExACT_editItem.js index af67ee2..00dcee6 100644 --- a/tests/ExACT_editItem.js +++ b/tests/ExACT_editItem.js @@ -381,7 +381,7 @@ const steps = [ //Page title font size -32px { - description: 'Validate Page title color', + description: 'Validate Page title font size', action: async () => { const elementStyle = await driver.findElement(By.css('#myModalLabel')).getCssValue('font-size'); if (elementStyle !== '32px') { @@ -615,7 +615,7 @@ const steps = [ if (elementValue !== '') { throw new Error(`Expected: Client Item ID "empty"; Actual: "${elementValue}"`); } - console.log('Passed: Client ITem Id empty value text matched as expected'); + console.log('Passed: Client Item Id empty value text matched as expected'); } },