Restructured scripts
This commit is contained in:
5
index.js
5
index.js
@@ -5,7 +5,7 @@ import exactLandingPage from './tests/LandingPage/exactLandingPage.js';
|
||||
|
||||
//DASHBOARDS
|
||||
import correlationDashboard from './tests/CorrelationDashboard/correlationDashboard.js';
|
||||
import dashboardMyStandards from './tests/CorrelationDashboard/dashboardMyStandards.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';
|
||||
@@ -85,6 +85,7 @@ app.get('/', (req, res) => {
|
||||
<h1 style="text-align:center; color:#055a8c; font-size:20px; ">ALIGN</h1>
|
||||
<div style="padding:3px;"><strong><a href='/alignContentPage' target='_blank'>Content Page</a></strong></div>
|
||||
<div style="padding:3px;"><strong><a href='/alignStandardsPage' target='_blank'>Standards Page</a></strong></div>
|
||||
<div style="padding:3px;"><strong>- <a href='/myStandardsSearchAlignedContent' target='_blank'>My Standards Search / Aligned Content</a></strong></div>
|
||||
<div style="padding:3px;"><strong><a href='/alignAutoAlignPage' target='_blank'>AutoAlign Page</a></strong></div>
|
||||
|
||||
<h1 style="text-align:center; color:#055a8c; font-size:20px; ">UPLOAD</h1>
|
||||
@@ -109,7 +110,7 @@ app.get('/', (req, res) => {
|
||||
<!-- NEEDS UPDATE
|
||||
<div style="padding:3px;"><strong><a href='/ExACT_dashboardSemanticStandardsComparison' target='_blank'>Semantic Standards Comparison Widget</a></strong></div>
|
||||
|
||||
<div style="padding:3px;"><strong><a href='/myStandardsSearchAlignedContent' target='_blank'>My Standards Search - Aligned Content</a></strong></div>
|
||||
|
||||
<div style="padding:3px;"><strong><a href='/myStandardsSearchRelatedStandards' target='_blank'>My Standards Search - Related Standards</a></strong></div>
|
||||
|
||||
<h1 style="text-align:center; color:#055a8c; font-size:20px; ">CONTENT</h1>
|
||||
|
||||
BIN
results/myStandardsSearchAlignedContent.xlsx
Normal file
BIN
results/myStandardsSearchAlignedContent.xlsx
Normal file
Binary file not shown.
@@ -3,7 +3,7 @@ import { Options as ChromeOptions } from 'selenium-webdriver/chrome.js';
|
||||
import fs from 'fs';
|
||||
import XLSX from 'xlsx';
|
||||
import path from 'path';
|
||||
import { myStandardsSearch_AlignedContent } from '../myStandardsSearchAlignedContent.js';
|
||||
import { myStandardsSearch_AlignedContent } from '../../myStandardsSearchAlignedContent.js';
|
||||
|
||||
const dashboardMyStandards = (req, res) => {
|
||||
res.send('<h2>ExACT Automated Test Script: DASHBOARD - My Standards Widget(dashboardMyStandards) | Initiated</h2>');
|
||||
@@ -9,7 +9,7 @@ export const myStandardsSearch_AlignedContent = (driver) => [
|
||||
{
|
||||
description: 'Log Aligned Content start',
|
||||
action: async () => {
|
||||
console.log('------------->| MY STANDARDS - ALIGNED CONTENT |<-------------');
|
||||
console.log('------------->| MY STANDARDS - ALIGNED CONTENT SEARCH |<-------------');
|
||||
}
|
||||
},
|
||||
|
||||
@@ -8246,7 +8246,7 @@ const myStandardsSearch = (req, res) => {
|
||||
await driver.findElement(By.css('.show > li:nth-child(14) input')).click();
|
||||
await driver.sleep(2000);
|
||||
//Select "California Mathematics 1997" from dropdown
|
||||
await driver.findElement(By.css('.show > li:nth-child(32) input')).click();
|
||||
await driver.findElement(By.css('.show > li:nth-child(34) input')).click();
|
||||
await driver.sleep(2000);
|
||||
console.log('----->| NEXT ACTION: Selected Include Related Standards: Washington, Common Core State Standards, California Mathematics 1997');
|
||||
//Click away to close dropdown using executeScript to bypass interception
|
||||
@@ -8312,7 +8312,7 @@ const takeScreenshot = async (driver, stepIndex, stepDescription) => {
|
||||
return screenshotPath;
|
||||
};
|
||||
|
||||
const resultsFile = path.join('results', 'myStandardsSearchAlignedContentResults.xlsx');
|
||||
const resultsFile = path.join('results', 'myStandardsSearchAlignedContent.xlsx');
|
||||
|
||||
const clearOldResults = () => {
|
||||
//Remove old screenshots
|
||||
|
||||
Reference in New Issue
Block a user