itemengine-cypress-automation 1.0.153-migrationScripts-9a4087e.0 → 1.0.154-migrationScripts-36ae74d.0
Sign up to get free protection for your applications and to get access to all the features.
@@ -5,7 +5,7 @@ import lrnQuestionTypesENUM from "../../support/migrationHelpers/lrnQestionTypes
|
|
5
5
|
import { verifyIeQuestionData } from "../../support/migrationHelpers/verifyIeQuestionData";
|
6
6
|
import abortEarlySetup from "../../support/helpers/abortEarly";
|
7
7
|
|
8
|
-
const migrationQuestionTypes = ["essayResponse", "essayResponseBasic", "mcq", "textEntryMath"]
|
8
|
+
const migrationQuestionTypes = Cypress.env('migrationQuestionTypes');//["essayResponse", "essayResponseBasic", "mcq", "textEntryMath"]
|
9
9
|
const migrationQuestionTypesLrn = migrationQuestionTypes.map((questionType) => lrnQuestionTypesENUM[questionType]);
|
10
10
|
let lrnMcqTypesRegex = /Multiple choice – standard|Multiple choice – multiple response|True or false|Multiple choice – block layout/;
|
11
11
|
let lrnEssayResponseRegex = /Math essay with rich text|Essay with rich text/
|