Added 7 files to /ExACTRegressionScripts
This commit is contained in:
2
ExACTRegressionScripts/.gitignore
vendored
Normal file
2
ExACTRegressionScripts/.gitignore
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
node_modules
|
||||
screenshots
|
||||
30
ExACTRegressionScripts/index.js
Normal file
30
ExACTRegressionScripts/index.js
Normal 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');
|
||||
});
|
||||
BIN
ExACTRegressionScripts/landingPageResult.xlsx
Normal file
BIN
ExACTRegressionScripts/landingPageResult.xlsx
Normal file
Binary file not shown.
BIN
ExACTRegressionScripts/loginResult.xlsx
Normal file
BIN
ExACTRegressionScripts/loginResult.xlsx
Normal file
Binary file not shown.
2314
ExACTRegressionScripts/package-lock.json
generated
Normal file
2314
ExACTRegressionScripts/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load Diff
22
ExACTRegressionScripts/package.json
Normal file
22
ExACTRegressionScripts/package.json
Normal 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"
|
||||
}
|
||||
}
|
||||
0
ExACTRegressionScripts/readme.txt
Normal file
0
ExACTRegressionScripts/readme.txt
Normal file
Reference in New Issue
Block a user