Moved ExACT Landing Page script
This commit is contained in:
@@ -3,7 +3,6 @@ import { Options as ChromeOptions } from 'selenium-webdriver/chrome.js';
|
||||
import fs from 'fs';
|
||||
import XLSX from 'xlsx';
|
||||
import path from 'path';
|
||||
import { error } from 'console';
|
||||
|
||||
const exactLandingPage = (req, res) => {
|
||||
res.send('<h2>ExACT Automated Test Script: ExACT Landing Page(exactLandingPage) | Initiated</h2>');
|
||||
@@ -31,7 +30,7 @@ const steps = [
|
||||
{
|
||||
description: 'Loading Page',
|
||||
action: async () => {
|
||||
console.log('------------->| ExACT LANDING PAGE |<-------------');
|
||||
console.log('------------->| ExACT - LANDING PAGE |<-------------');
|
||||
|
||||
//Wait until the element exists in the DOM
|
||||
const exactLogo = await driver.wait(
|
||||
@@ -2097,8 +2096,8 @@ const steps = [
|
||||
}
|
||||
|
||||
//Trigger validation by clicking Start Your Free Trial button
|
||||
await driver.findElement(By.css('#password')).sendKeys('EdGate123');
|
||||
console.log('----->| NEXT ACTION: Entered Password: EdGate123');
|
||||
await driver.findElement(By.css('#password')).sendKeys('Etest123');
|
||||
console.log('----->| NEXT ACTION: Entered Password: Etest123');
|
||||
|
||||
await driver.findElement(By.css('.btn')).click();
|
||||
console.log('----->| NEXT ACTION: Clicked Start Your Free Trial button');
|
||||
@@ -4722,7 +4721,7 @@ const steps = [
|
||||
console.log('----->| NEXT ACTION: Entered Username: exact_juan');
|
||||
|
||||
await driver.findElement(By.css('.passfield')).sendKeys('Edgate1!');
|
||||
console.log('----->| NEXT ACTION: Entered Password: Edgate1!');
|
||||
console.log('----->| NEXT ACTION: Entered Password: ********');
|
||||
|
||||
await driver.findElement(By.css('.login')).click();
|
||||
console.log('----->| NEXT ACTION: Clicked Login button');
|
||||
Reference in New Issue
Block a user