Restructured scripts
This commit is contained in:
@@ -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