Updated checkbox values

This commit is contained in:
2025-08-11 13:12:50 -07:00
parent 59abdcbad6
commit b810f1fc30
2 changed files with 8 additions and 8 deletions

View File

@@ -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 () => {
const elementStyle = await driver.findElement(By.css('#formatpdf')).getAttribute('type');
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 () => {
const elementStyle = await driver.findElement(By.css('#formatcase')).getAttribute('type');
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 () => {
const elementStyle = await driver.findElement(By.css('#private')).getAttribute('type');
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');
}
},