import express from 'express';
import ExACT_landingPage from './tests/ExACT_landingPage.js';
import ExACT_login from './tests/ExACT_login.js';
//Dashboard
import ExACT_dashboardMyContent from './tests/ExACT_DashboardMyContent.js';
//Pages
import ExACT_contentPage from './tests/ExACT_contentPage.js';
const app = express();
app.get('/', (req, res) => {
res.send(`
ExACT Automated Regression Scripts
(Click the corresponding link to execute the desired script)
Dashboard
Pages
`);
})
//Landing:
app.get('/ExACT_landingPage', ExACT_landingPage);
//Login
app.get('/ExACT_login', ExACT_login);
//Dashboard
//My Content
app.get('/ExACT_dashboardMyContent', ExACT_dashboardMyContent);
//Pages
//Content
app.get('/ExACT_contentPage', ExACT_contentPage);
app.listen(8000, () => {
console.log('Server is running on port 8000');
});