Corrected spelling issues
This commit is contained in:
@@ -614,17 +614,17 @@ const steps = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
//Edit Content Set DIV - Delete button tool-tip
|
//Edit Content Set DIV - Delete button tool-tip
|
||||||
{
|
{
|
||||||
description: 'Validate Edit DIV delete button tool-tip',
|
description: 'Validate Edit DIV delete button tool-tip',
|
||||||
action: async () => {
|
action: async () => {
|
||||||
const elementStyle = await driver.findElement(By.css('.modal-lg #orgdelete')).getAttribute('title');
|
const elementStyle = await driver.findElement(By.css('.modal-lg #orgdelete')).getAttribute('title');
|
||||||
if (elementStyle !== 'You cannot delete a Content Set that has content items') {
|
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}"`);
|
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');
|
|
||||||
}
|
}
|
||||||
},
|
console.log('Passed: Edit DIV delete button tool-tip matched as expected');
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
//Edit Content Set DIV - Save button
|
//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',
|
description: 'Validate export Select all text',
|
||||||
action: async () => {
|
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',
|
description: 'Validate export Select all handle text',
|
||||||
action: async () => {
|
action: async () => {
|
||||||
@@ -1529,7 +1529,7 @@ const steps = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
//Algebra - QA searcch handle text
|
//Algebra - QA search handle text
|
||||||
{
|
{
|
||||||
description: 'Validate export Algebra handle text',
|
description: 'Validate export Algebra handle text',
|
||||||
action: async () => {
|
action: async () => {
|
||||||
@@ -1553,7 +1553,7 @@ const steps = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
//Biology - QA searcch handle text
|
//Biology - QA search handle text
|
||||||
{
|
{
|
||||||
description: 'Validate export Biology handle text',
|
description: 'Validate export Biology handle text',
|
||||||
action: async () => {
|
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',
|
description: 'Validate export English II handle text',
|
||||||
action: async () => {
|
action: async () => {
|
||||||
@@ -1601,7 +1601,7 @@ const steps = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
//Geometry - QA searcch handle text
|
//Geometry - QA search handle text
|
||||||
{
|
{
|
||||||
description: 'Validate export Geometry handle text',
|
description: 'Validate export Geometry handle text',
|
||||||
action: async () => {
|
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',
|
description: 'Validate export US History handle text',
|
||||||
action: async () => {
|
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',
|
description: 'Validate export Automated - QA Content Set - To be deleted handle text',
|
||||||
action: async () => {
|
action: async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user