Cleaned grade checkboxes
This commit is contained in:
@@ -871,18 +871,6 @@ const steps = [
|
||||
}
|
||||
},
|
||||
|
||||
//Grade 9 checkbox
|
||||
{
|
||||
description: 'Verify grade 9 checkbox icon is present',
|
||||
action: async () =>
|
||||
{ const expectedIcon = await driver.wait(until.elementLocated(By.id('49')), 5000).catch(() => false);
|
||||
if (!expectedIcon) {
|
||||
throw new Error('"Grade 9" checkbox icon not found');
|
||||
}
|
||||
console.log('Passed: Grade 9 checkbox icon present');
|
||||
}
|
||||
},
|
||||
|
||||
//Grade 9 checkbox -enabled
|
||||
{
|
||||
description: 'Validate Grade 9 checkbox enabled',
|
||||
@@ -907,18 +895,6 @@ const steps = [
|
||||
}
|
||||
},
|
||||
|
||||
//Grade 10 checkbox
|
||||
{
|
||||
description: 'Verify grade 10 checkbox icon is present',
|
||||
action: async () =>
|
||||
{ const expectedIcon = await driver.wait(until.elementLocated(By.id('51')), 5000).catch(() => false);
|
||||
if (!expectedIcon) {
|
||||
throw new Error('"rade 10" checkbox icon not found');
|
||||
}
|
||||
console.log('Passed: Grade 10 checkbox icon present');
|
||||
}
|
||||
},
|
||||
|
||||
//Grade 10 checkbox -enabled
|
||||
{
|
||||
description: 'Validate Grade 10 checkbox enabled',
|
||||
@@ -943,18 +919,6 @@ const steps = [
|
||||
}
|
||||
},
|
||||
|
||||
//Grade 11 checkbox
|
||||
{
|
||||
description: 'Verify grade 11 checkbox icon is present',
|
||||
action: async () =>
|
||||
{ const expectedIcon = await driver.wait(until.elementLocated(By.id('52')), 5000).catch(() => false);
|
||||
if (!expectedIcon) {
|
||||
throw new Error('"Grade 11" checkbox icon not found');
|
||||
}
|
||||
console.log('Passed: Grade 11 checkbox icon present');
|
||||
}
|
||||
},
|
||||
|
||||
//Grade 11 checkbox -enabled
|
||||
{
|
||||
description: 'Validate Grade 11 checkbox enabled',
|
||||
@@ -979,18 +943,6 @@ const steps = [
|
||||
}
|
||||
},
|
||||
|
||||
//Grade 12 checkbox
|
||||
{
|
||||
description: 'Verify grade 12 checkbox icon is present',
|
||||
action: async () =>
|
||||
{ const expectedIcon = await driver.wait(until.elementLocated(By.id('53')), 5000).catch(() => false);
|
||||
if (!expectedIcon) {
|
||||
throw new Error('"Grade 12" checkbox icon not found');
|
||||
}
|
||||
console.log('Passed: Grade 12 checkbox icon present');
|
||||
}
|
||||
},
|
||||
|
||||
//Grade 12 checkbox -enabled
|
||||
{
|
||||
description: 'Validate Grade 12 checkbox enabled',
|
||||
|
||||
Reference in New Issue
Block a user