Cleaned up script
This commit is contained in:
@@ -417,12 +417,6 @@ const steps = [
|
|||||||
|
|
||||||
//Validation
|
//Validation
|
||||||
{ description: 'Click Login button', action: async () => await driver.findElement(By.css('.login')).click() },
|
{ description: 'Click Login button', action: async () => await driver.findElement(By.css('.login')).click() },
|
||||||
|
|
||||||
/*
|
|
||||||
{ description: 'Enter username', action: async () => await driver.findElement(By.id('txtU')).sendKeys('gnight147', Key.RETURN) },
|
|
||||||
{ description: 'Wait for password field to be present', action: async () => await driver.sleep(3000) },
|
|
||||||
{ description: 'Enter password', action: async () => await driver.findElement(By.id('txtP')).sendKeys('EDmin123', Key.RETURN) },
|
|
||||||
{ description: 'Wait for login process to complete', action: async () => await driver.sleep(10000) },*/
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const logStep = (worksheet, stepDescription, status, stepIndex, timestamp, screenshotPath) => {
|
const logStep = (worksheet, stepDescription, status, stepIndex, timestamp, screenshotPath) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user