Added LogOut and updated test results
This commit is contained in:
@@ -8794,7 +8794,6 @@ const steps = [
|
||||
console.log('Passed: Log Out button present; Script completed');
|
||||
}
|
||||
},
|
||||
|
||||
];
|
||||
|
||||
const logStep = (worksheet, stepDescription, status, stepIndex, timestamp, screenshotPath) => {
|
||||
@@ -8861,7 +8860,7 @@ try {
|
||||
}
|
||||
}
|
||||
|
||||
//Check if login was successful
|
||||
//Check if log out was successful
|
||||
const loginButton = await driver.wait(until.elementLocated(By.css('.login')), 5000).catch(() => false);
|
||||
|
||||
if (loginButton && allStepsPassed) {
|
||||
|
||||
Reference in New Issue
Block a user