Moved file structure and completed myContentWidget script
This commit is contained in:
@@ -8306,7 +8306,7 @@ const myStandardsSearch = (req, res) => {
|
||||
const takeScreenshot = async (driver, stepIndex, stepDescription) => {
|
||||
const screenshot = await driver.takeScreenshot();
|
||||
|
||||
const dir = path.join('screenshots', 'myStandardsSearchAlignedContentResults');
|
||||
const dir = path.join('screenshots', 'myStandardsSearchAlignedContent');
|
||||
|
||||
const screenshotFileName = `step_${stepIndex}_${stepDescription.replace(/\s+/g, '_')}.png`;
|
||||
const screenshotPath = path.join(dir, screenshotFileName);
|
||||
|
||||
Reference in New Issue
Block a user