Updated due to recent changes
This commit is contained in:
@@ -2580,9 +2580,9 @@ const steps = [
|
||||
action: async () => {
|
||||
const elementStyle = await driver.findElement(By.linkText('Delete')).getCssValue('color');
|
||||
if (elementStyle !== 'rgba(220, 53, 69, 1)') {
|
||||
throw new Error(`Expected: ECS-2920 | Actions Delete text color did not match; Actual: "${elementStyle}"`);
|
||||
throw new Error(`Expected: Actions Delete text color did not match; Actual: "${elementStyle}"`);
|
||||
}
|
||||
console.log('Passed: ECS-2920 | Delete text color matched as expected');
|
||||
console.log('Passed: Actions Delete text color matched as expected');
|
||||
}
|
||||
},
|
||||
|
||||
@@ -2684,7 +2684,7 @@ try {
|
||||
const loginButton = await driver.wait(until.elementLocated(By.css('.login')), 5000).catch(() => false);
|
||||
|
||||
if (loginButton && allStepsPassed) {
|
||||
console.log('PASSED: Content Page(ExACT_contentPage); All test steps completed successfully');
|
||||
console.log('PASSED: ECS-2920 | Content Page(ExACT_contentPage); All test steps completed successfully');
|
||||
testStatus = 'Passed';
|
||||
} else {
|
||||
console.log('FAILED: ECS-2920 | Content Page(ExACT_contentPage); One or more test steps failed');
|
||||
|
||||
Reference in New Issue
Block a user