Updated items count
This commit is contained in:
@@ -111,8 +111,8 @@ const steps = [
|
|||||||
description: 'Validate Dashboard My Content Item Count',
|
description: 'Validate Dashboard My Content Item Count',
|
||||||
action: async () => {
|
action: async () => {
|
||||||
const elementText = await driver.findElement(By.css('#badge_content_total')).getText();
|
const elementText = await driver.findElement(By.css('#badge_content_total')).getText();
|
||||||
if (elementText !== '3527 items') {
|
if (elementText !== '3552 items') {
|
||||||
throw new Error(`Expected: "3527 items"; Actual: "${elementText}"`);
|
throw new Error(`Expected: "3552 items"; Actual: "${elementText}"`);
|
||||||
}
|
}
|
||||||
console.log('Passed: Dashboard - My Content Item Count matched as expected');
|
console.log('Passed: Dashboard - My Content Item Count matched as expected');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user