import express from 'express'; import exactLandingPage from './tests/LandingPage/exactLandingPage.js'; //import ExACT_login from './tests/ExACT_login.js'; //DASHBOARDS import correlationDashboard from './tests/CorrelationDashboard/correlationDashboard.js'; import dashboardMyStandards from './tests/CorrelationDashboard/MyStandardsWidget/dashboardMyStandards.js'; import ExACT_dashboardMyContent from './tests/ExACT_dashboardMyContent.js'; import ExACT_dashboardSemanticStandardsComparison from './tests/ExACT_dashboardSemanticStandardsComparison.js'; import myStandardsSearchAlignedContent from './tests/myStandardsSearchAlignedContent.js'; import myStandardsSearchRelatedStandards from './tests/myStandardsSearchRelatedStandards.js'; //FRAMEWORKS import frameworkManagementPage from './tests/Frameworks/frameworkManagementPage.js'; import ExACT_frameworkPublishingPage from './tests/ExACT_frameworkPublishingPage.js'; import ExACT_frameworkPublishFrameworkDIV from './tests/ExACT_frameworkPublishFrameworkDIV.js'; import ExACT_frameworkFrameworkGroupsDIV from './tests/ExACT_frameworkFrameworkGroupsDIV.js'; import ExACT_frameworkFrameworkSettingsDIV from './tests/ExACT_frameworkFrameworkSettingsDIV.js'; //ALIGN import alignContentPage from './tests/Align/alignContentPage.js'; import alignStandardsPage from './tests/Align/alignStandardsPage.js'; import alignAutoAlignPage from './tests/Align/alignAutoAlignPage.js'; //UPLOAD import uploadSubmitAResourcePage from './tests/Upload/uploadSubmitAResourcePage.js'; import uploadBatchUploadPage from './tests/Upload/uploadBatchUpload.js'; import uploadImportAlignmentsPage from './tests/Upload/uploadImportAlignmentsPage.js'; //ACTIVITY REPORT import activityReportPage from './tests/ActivityReport/ActivityReportPage.js'; //REPORT import reportBuildYourReportPage from './tests/Report/reportBuildYourReportPage.js'; import reportViewQueuedReportsPage from './tests/Report/reportViewQueuedReportsPage.js'; import reportSpecialtyReportsPage from './tests/Report/reportSpecialtyReportsPage.js'; //APPROVE import approvePendingAlignmentsPage from './tests/Approve/approvePendingAlignmentsPage.js'; import approveContentSubmissionsPage from './tests/Approve/approveContentSubmissionsPage.js'; import approveApprovalHistoryPage from './tests/Approve/approveApprovalHistoryPage.js'; import approveRejectionHistoryPage from './tests/Approve/approveRejectionHistoryPage.js'; //Content import ExACT_contentPage from './tests/ExACT_contentPage.js'; import ExACT_editItem from './tests/ExACT_editItem.js'; import ExACT_editItemAddConcept from './tests/ExACT_editItemAddConcept.js'; import ExACT_alignConceptsPage from './tests/ExACT_alignConceptsPage.js'; const app = express(); app.get('/', (req, res) => { res.send(`

ExACT Automated Regression Scripts

(Click the corresponding link to execute the desired script)

EXACT LANDING PAGE

ExACT Landing Page

DASHBOARD

Correlation Dashboard
- My Standards Widget

FRAMEWORKS

Framework Management Page

ALIGN

Content Page
Standards Page
- My Standards Search / Aligned Content
- My Standards Search / Related Standards
AutoAlign Page

UPLOAD

Submit A Resource Page
Batch Upload Page
Import Alignments Page

ACTIVITY REPORT

Activity Report Page

REPORT

Build Your Report Page
View Queued Reports Page
Specialty Reports Page

APPROVE

Pending Alignments Page
Content Submissions Page
Approval History Page
Rejection History Page

`); }) //EXACT LANDING app.get('/exactLandingPage', exactLandingPage); //Login //app.get('/ExACT_login', ExACT_login); //DASHBOARDS app.get('/correlationDashboard', correlationDashboard); app.get('/dashboardMyStandards', dashboardMyStandards); //FRAMEWORKS app.get('/frameworkManagementPage', frameworkManagementPage); app.get('/ExACT_frameworkPublishingPage', ExACT_frameworkPublishingPage); app.get('/ExACT_frameworkPublishFrameworkDIV', ExACT_frameworkPublishFrameworkDIV); app.get('/ExACT_frameworkFrameworkGroupsDIV', ExACT_frameworkFrameworkGroupsDIV); app.get('/ExACT_frameworkFrameworkSettingsDIV', ExACT_frameworkFrameworkSettingsDIV); //ALIGN app.get('/alignContentPage', alignContentPage); app.get('/alignStandardsPage', alignStandardsPage); app.get('/alignAutoAlignPage', alignAutoAlignPage); //UPLOAD app.get('/uploadSubmitAResourcePage', uploadSubmitAResourcePage); app.get('/uploadBatchUploadPage', uploadBatchUploadPage); app.get('/uploadImportAlignmentsPage', uploadImportAlignmentsPage); //ACTIVITY REPORT app.get('/activityReportPage', activityReportPage); //ACTIVITY REPORT app.get('/reportBuildYourReportPage', reportBuildYourReportPage); app.get('/reportViewQueuedReportsPage', reportViewQueuedReportsPage); app.get('/reportSpecialtyReportsPage', reportSpecialtyReportsPage); //APPROVE app.get('/approvePendingAlignmentsPage', approvePendingAlignmentsPage); app.get('/approveContentSubmissionsPage', approveContentSubmissionsPage); app.get('/approveApprovalHistoryPage', approveApprovalHistoryPage); app.get('/approveRejectionHistoryPage', approveRejectionHistoryPage); //My Content app.get('/ExACT_dashboardMyContent', ExACT_dashboardMyContent); app.get('/ExACT_dashboardSemanticStandardsComparison', ExACT_dashboardSemanticStandardsComparison); app.get('/myStandardsSearchAlignedContent', myStandardsSearchAlignedContent); app.get('/myStandardsSearchRelatedStandards', myStandardsSearchRelatedStandards); //Content app.get('/ExACT_contentPage', ExACT_contentPage); //Edit Item app.get('/ExACT_editItem', ExACT_editItem); app.get('/ExACT_editItemAddConcept', ExACT_editItemAddConcept); app.get('/ExACT_alignConceptsPage', ExACT_alignConceptsPage); app.listen(8000, () => { console.log('Server is up and running on port 8000'); });