Updated checkbox values
This commit is contained in:
Binary file not shown.
@@ -2481,9 +2481,9 @@ const steps = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
//DIV Download Formats: PDF checkbox -null
|
//DIV Download Formats: PDF checkbox
|
||||||
{
|
{
|
||||||
description: 'Validate PDF checkbox option enabled',
|
description: 'Validate PDF checkbox',
|
||||||
action: async () => {
|
action: async () => {
|
||||||
const elementStyle = await driver.findElement(By.css('#formatpdf')).getAttribute('type');
|
const elementStyle = await driver.findElement(By.css('#formatpdf')).getAttribute('type');
|
||||||
if (elementStyle !== 'checkbox') {
|
if (elementStyle !== 'checkbox') {
|
||||||
@@ -2505,9 +2505,9 @@ const steps = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
//DIV Download Formats: JSON checkbox -null
|
//DIV Download Formats: JSON checkbox
|
||||||
{
|
{
|
||||||
description: 'Validate JSON checkbox option enabled',
|
description: 'Validate JSON checkbox',
|
||||||
action: async () => {
|
action: async () => {
|
||||||
const elementStyle = await driver.findElement(By.css('#formatcase')).getAttribute('type');
|
const elementStyle = await driver.findElement(By.css('#formatcase')).getAttribute('type');
|
||||||
if (elementStyle !== 'checkbox') {
|
if (elementStyle !== 'checkbox') {
|
||||||
@@ -2577,15 +2577,15 @@ const steps = [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
//DIV Comment Settings: Comments are private checkbox -null
|
//DIV Comment Settings: Comments are private checkbox
|
||||||
{
|
{
|
||||||
description: 'Validate Allow Comments checkbox option enabled',
|
description: 'Validate Allow Comments checkbox',
|
||||||
action: async () => {
|
action: async () => {
|
||||||
const elementStyle = await driver.findElement(By.css('#private')).getAttribute('type');
|
const elementStyle = await driver.findElement(By.css('#private')).getAttribute('type');
|
||||||
if (elementStyle !== 'checkbox') {
|
if (elementStyle !== 'checkbox') {
|
||||||
throw new Error(`Allow Comments checkbox type does not match; Actual: "${elementStyle}"`);
|
throw new Error(`Comments are private checkbox type does not match; Actual: "${elementStyle}"`);
|
||||||
}
|
}
|
||||||
console.log('Passed: Allow Comments checkbox type matched as expected');
|
console.log('Passed: Comments are private checkbox type matched as expected');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user