From 35f68d7e32ecc5227d0aec01b255506103ed5295 Mon Sep 17 00:00:00 2001 From: jhuerta Date: Thu, 12 Dec 2024 16:24:22 -0800 Subject: [PATCH] Corrected spelling issues --- tests/ExACT_dashboardMyContent.js | 36 +++++++++++++++---------------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/tests/ExACT_dashboardMyContent.js b/tests/ExACT_dashboardMyContent.js index d71f98a..ac0f9aa 100644 --- a/tests/ExACT_dashboardMyContent.js +++ b/tests/ExACT_dashboardMyContent.js @@ -614,17 +614,17 @@ const steps = [ } }, - //Edit Content Set DIV - Delete button tool-tip - { - description: 'Validate Edit DIV delete button tool-tip', - action: async () => { - const elementStyle = await driver.findElement(By.css('.modal-lg #orgdelete')).getAttribute('title'); - if (elementStyle !== 'You cannot delete a Content Set that has content items') { - throw new Error(`Expected: "You cannot delete a Content Set that has content items"; Actual: "${elementStyle}"`); - } - console.log('Passed: Edit DIV delete button tool-tip matched as expected'); + //Edit Content Set DIV - Delete button tool-tip + { + description: 'Validate Edit DIV delete button tool-tip', + action: async () => { + const elementStyle = await driver.findElement(By.css('.modal-lg #orgdelete')).getAttribute('title'); + if (elementStyle !== 'You cannot delete a Content Set that has content items') { + throw new Error(`Expected: "You cannot delete a Content Set that has content items"; Actual: "${elementStyle}"`); } - }, + console.log('Passed: Edit DIV delete button tool-tip matched as expected'); + } + }, //Edit Content Set DIV - Save button { @@ -1476,7 +1476,7 @@ const steps = [ } }, - //Select all searcch text + //Select all search text { description: 'Validate export Select all text', action: async () => { @@ -1505,7 +1505,7 @@ const steps = [ } }, - //Select all searcch handle text + //Select all search handle text { description: 'Validate export Select all handle text', action: async () => { @@ -1529,7 +1529,7 @@ const steps = [ } }, - //Algebra - QA searcch handle text + //Algebra - QA search handle text { description: 'Validate export Algebra handle text', action: async () => { @@ -1553,7 +1553,7 @@ const steps = [ } }, - //Biology - QA searcch handle text + //Biology - QA search handle text { description: 'Validate export Biology handle text', action: async () => { @@ -1577,7 +1577,7 @@ const steps = [ } }, - //English II - QA searcch handle text + //English II - QA search handle text { description: 'Validate export English II handle text', action: async () => { @@ -1601,7 +1601,7 @@ const steps = [ } }, - //Geometry - QA searcch handle text + //Geometry - QA search handle text { description: 'Validate export Geometry handle text', action: async () => { @@ -1625,7 +1625,7 @@ const steps = [ } }, - //US History - QA searcch handle text + //US History - QA search handle text { description: 'Validate export US History handle text', action: async () => { @@ -1649,7 +1649,7 @@ const steps = [ } }, - //Automated - QA Content Set - To be deleted searcch handle text + //Automated - QA Content Set - To be deleted search handle text { description: 'Validate export Automated - QA Content Set - To be deleted handle text', action: async () => {