Added LogOut and updated test results
This commit is contained in:
@@ -4,7 +4,7 @@ import XLSX from 'xlsx';
|
||||
import path from 'path';
|
||||
|
||||
const ExACT_alignConceptsPage = (req, res) => {
|
||||
res.send('<h2>ExACT Automated Test Script - Align Concepts Page: Initiated</h2>');
|
||||
res.send('<h2>ExACT Automated Test Script - Align Concepts Page(ExACT_alignConceptsPage): Initiated</h2>');
|
||||
(async function example() {
|
||||
let driver = await new Builder().forBrowser('chrome').build();
|
||||
let testStatus = 'Failed';
|
||||
@@ -3108,10 +3108,10 @@ try {
|
||||
const loginButton = await driver.wait(until.elementLocated(By.css('.login')), 5000).catch(() => false);
|
||||
|
||||
if (loginButton && allStepsPassed) {
|
||||
console.log('PASSED: System logged in as expected');
|
||||
console.log('PASSED: Align Concepts Page(ExACT_alignConceptsPage); All test steps completed successfully');
|
||||
testStatus = 'Passed';
|
||||
} else {
|
||||
console.log('FAILED: Unable to log in');
|
||||
console.log('FAILED: Align Concepts Page(ExACT_alignConceptsPage); One or more test steps failed');
|
||||
testStatus = 'Failed';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user