diff --git a/index.js b/index.js index 43fe0c4..ee58f22 100644 --- a/index.js +++ b/index.js @@ -1,6 +1,6 @@ import express from 'express'; -import exactLandingPage from './tests/exactLandingPage.js'; +import exactLandingPage from './tests/LandingPage/exactLandingPage.js'; //import ExACT_login from './tests/ExACT_login.js'; //DASHBOARDS @@ -62,7 +62,7 @@ app.get('/', (req, res) => {

ExACT Automated Regression Scripts

(Click the corresponding link to execute the desired script)
-

EDGATE LANDING PAGE

+

EXACT LANDING PAGE

ExACT Landing Page

DASHBOARD

diff --git a/results/exactLandingPage.xlsx b/results/exactLandingPage.xlsx new file mode 100644 index 0000000..7d058ff Binary files /dev/null and b/results/exactLandingPage.xlsx differ diff --git a/tests/exactLandingPage.js b/tests/LandingPage/exactLandingPage.js similarity index 99% rename from tests/exactLandingPage.js rename to tests/LandingPage/exactLandingPage.js index 8af8b79..332d4c6 100644 --- a/tests/exactLandingPage.js +++ b/tests/LandingPage/exactLandingPage.js @@ -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('

ExACT Automated Test Script: ExACT Landing Page(exactLandingPage) | Initiated

'); @@ -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');