Added Framework Publishing script

This commit is contained in:
2025-05-07 15:13:34 -07:00
parent 926df24ce6
commit fee67f7164

View File

@@ -14,6 +14,7 @@ import ExACT_editItemAddConcept from './tests/ExACT_editItemAddConcept.js';
import ExACT_alignConceptsPage from './tests/ExACT_alignConceptsPage.js';
//Framework
import ExACT_frameworkManagementPage from './tests/ExACT_frameworkManagementPage.js';
import ExACT_frameworkPublishingPage from './tests/ExACT_frameworkPublishingPage.js';
const app = express();
@@ -21,22 +22,19 @@ 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 Automated Regression Scripts</h1>
<h1 style="text-align:center; color:#055a8c; padding-top: 20px;">ExACT Automated Regression Scripts</h1>
<div style="text-align:center; color:#001; font-size:15px; ">(Click the corresponding link to execute the desired script)</div>
<br><div style="padding:3px;"><strong><a href='/ExACT_landingPage' target='_blank'>ExACT Landing Page</a></strong></div>
<br><div style="padding:3px;"><strong><a href='/ExACT_login' target='_blank'>Login</a></strong></div>
<br>
<h1 style="text-align:center; color:#055a8c; font-size:20px; ">DASHBOARD</h1>
<div style="padding:3px;"><strong><a href='/ExACT_dashboardMyContent' target='_blank'>My Content Widget</a></strong></div>
<br>
<h1 style="text-align:center; color:#055a8c; font-size:20px; ">CONTENT</h1>
<div style="padding:3px;"><strong><a href='/ExACT_contentPage' target='_blank'>Content Page</a></strong></div>
<br><div style="padding:3px;"><strong><a href='/ExACT_editItem' target='_blank'>Edit Item</a></strong></div>
<br>
<h1 style="text-align:center; color:#055a8c; font-size:20px; ">ALIGN</h1>
<div style="padding:3px;"><strong><a href='/ExACT_alignContentPage' target='_blank'>Align Content Page</a></strong></div>
@@ -48,6 +46,8 @@ app.get('/', (req, res) => {
<h1 style="text-align:center; color:#055a8c; font-size:20px; ">FRAMEWORKS</h1>
<div style="padding:3px;"><strong><a href='/ExACT_frameworkManagementPage' target='_blank'>Framework Management Page</a></strong></div>
<br><div style="padding:3px;"><strong><a href='/ExACT_frameworkPublishingPage' target='_blank'>Framework Publishing Page</a></strong></div>
<br>
</div>
`);
@@ -71,7 +71,7 @@ app.get('/ExACT_contentPage', ExACT_contentPage);
app.get('/ExACT_alignConceptsPage', ExACT_alignConceptsPage);
//Framework
app.get('/ExACT_frameworkManagementPage', ExACT_frameworkManagementPage);
app.get('/ExACT_frameworkPublishingPage', ExACT_frameworkPublishingPage);
app.listen(8000, () => {
console.log('Server is running on port 8000');
});