Added 7 files to /ExACTRegressionScripts

This commit is contained in:
juan huerta
2024-08-07 18:08:28 +00:00
parent 773f241a44
commit 5b521843f7
7 changed files with 2368 additions and 0 deletions

2
ExACTRegressionScripts/.gitignore vendored Normal file
View File

@@ -0,0 +1,2 @@
node_modules
screenshots

View File

@@ -0,0 +1,30 @@
import express from 'express';
//import authentication test scripts
//import loginTest from './tests/login.js';
import ExACT_landingPage from './tests/ExACT_landingPage.js';
const app = express();
app.get('/', (req, res) => {
res.send(`
<div style="text-align:center; background:#ccc;" width="100%">
<h1 style="text-align:center; color:#055a8c; padding-top: 40px;">ExACT</h1>
<h1 style="text-align:center; color:#001; padding-top: 10px;">Click the corresponding link to exeucate the desired automated test case script:</h1>
<br><div style="padding:3px;"><strong><a href='/ExACT_landingPage' target='_blank'>Landing Page</a></strong></div>
<br>
<br>
</div>
`);
})
//Authentication Test Automations Routes
//app.get('/login', loginTest);
app.get('/ExACT_landingPage', ExACT_landingPage);
app.listen(8000, () => {
console.log('Server is running on port 8000');
});

Binary file not shown.

Binary file not shown.

2314
ExACTRegressionScripts/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,22 @@
{
"name": "testingflow",
"version": "1.0.0",
"description": "",
"main": "index.js",
"type": "module",
"scripts": {
"dev": "nodemon index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"chromedriver": "^126.0.4",
"express": "^4.19.2",
"geckodriver": "^4.4.1",
"nodemon": "^3.1.0",
"selenium-webdriver": "^4.22.0",
"xlsx": "^0.18.5"
}
}

View File