itemengine-cypress-automation 1.0.147-migrationScripts-83ce324.0 → 1.0.147

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,6 +3,7 @@ import utilities from "../../support/helpers/utilities";
3
3
  import { extractLrnQuestionData, lrnPage } from "../../support/migrationHelpers/extractLrnQuestionData";
4
4
  import lrnQuestionTypesENUM from "../../support/migrationHelpers/lrnQestionTypesENUM";
5
5
  import { verifyIeQuestionData } from "../../support/migrationHelpers/verifyIeQuestionData";
6
+ import abortEarlySetup from "../../support/helpers/abortEarly";
6
7
 
7
8
  const migrationQuestionTypes = Cypress.env('migrationQuestionTypes');//["dndIntoCategories"]
8
9
  const migrationQuestionTypesLrn = migrationQuestionTypes.map((questionType) => lrnQuestionTypesENUM[questionType]);
@@ -23,6 +24,7 @@ if (referenceIds.length > 0) {
23
24
 
24
25
  referenceIds.forEach((referenceId) => {
25
26
  describe(`Migration item check for item "${referenceId}"`, () => {
27
+ abortEarlySetup();
26
28
  before(() => {
27
29
  cy.interceptGraphql('getItemPreview');
28
30
  cy.setGraphqlWait();
@@ -3,6 +3,7 @@ import utilities from "../../support/helpers/utilities";
3
3
  import { extractLrnQuestionData, lrnPage } from "../../support/migrationHelpers/extractLrnQuestionData";
4
4
  import lrnQuestionTypesENUM from "../../support/migrationHelpers/lrnQestionTypesENUM";
5
5
  import { verifyIeQuestionData } from "../../support/migrationHelpers/verifyIeQuestionData";
6
+ import abortEarlySetup from "../../support/helpers/abortEarly";
6
7
 
7
8
  const migrationQuestionTypes = Cypress.env('migrationQuestionTypes');//["drawingResponse"]
8
9
  const migrationQuestionTypesLrn = migrationQuestionTypes.map((questionType) => lrnQuestionTypesENUM[questionType]);
@@ -23,6 +24,7 @@ if (referenceIds.length > 0) {
23
24
 
24
25
  referenceIds.forEach((referenceId) => {
25
26
  describe(`Migration item check for item "${referenceId}"`, () => {
27
+ abortEarlySetup();
26
28
  before(() => {
27
29
  cy.interceptGraphql('getItemPreview');
28
30
  cy.setGraphqlWait();
@@ -3,6 +3,7 @@ import utilities from "../../support/helpers/utilities";
3
3
  import { extractLrnQuestionData, lrnPage } from "../../support/migrationHelpers/extractLrnQuestionData";
4
4
  import lrnQuestionTypesENUM from "../../support/migrationHelpers/lrnQestionTypesENUM";
5
5
  import { verifyIeQuestionData } from "../../support/migrationHelpers/verifyIeQuestionData";
6
+ import abortEarlySetup from "../../support/helpers/abortEarly";
6
7
 
7
8
  const migrationQuestionTypes = Cypress.env('migrationQuestionTypes');//["drawingResponse"]
8
9
  const migrationQuestionTypesLrn = migrationQuestionTypes.map((questionType) => lrnQuestionTypesENUM[questionType]);
@@ -23,6 +24,7 @@ if (referenceIds.length > 0) {
23
24
 
24
25
  referenceIds.forEach((referenceId) => {
25
26
  describe(`Migration item check for item "${referenceId}"`, () => {
27
+ abortEarlySetup();
26
28
  before(() => {
27
29
  cy.interceptGraphql('getItemPreview');
28
30
  cy.setGraphqlWait();
@@ -3,6 +3,7 @@ import utilities from "../../support/helpers/utilities";
3
3
  import { extractLrnQuestionData, lrnPage } from "../../support/migrationHelpers/extractLrnQuestionData";
4
4
  import lrnQuestionTypesENUM from "../../support/migrationHelpers/lrnQestionTypesENUM";
5
5
  import { verifyIeQuestionData } from "../../support/migrationHelpers/verifyIeQuestionData";
6
+ import abortEarlySetup from "../../support/helpers/abortEarly";
6
7
 
7
8
  const migrationQuestionTypes = Cypress.env('migrationQuestionTypes');//["drawingResponse"]
8
9
  const migrationQuestionTypesLrn = migrationQuestionTypes.map((questionType) => lrnQuestionTypesENUM[questionType]);
@@ -23,6 +24,7 @@ if (referenceIds.length > 0) {
23
24
 
24
25
  referenceIds.forEach((referenceId) => {
25
26
  describe(`Migration item check for item "${referenceId}"`, () => {
27
+ abortEarlySetup();
26
28
  before(() => {
27
29
  cy.interceptGraphql('getItemPreview');
28
30
  cy.setGraphqlWait();
@@ -3,6 +3,7 @@ import utilities from "../../support/helpers/utilities";
3
3
  import { extractLrnQuestionData, lrnPage } from "../../support/migrationHelpers/extractLrnQuestionData";
4
4
  import lrnQuestionTypesENUM from "../../support/migrationHelpers/lrnQestionTypesENUM";
5
5
  import { verifyIeQuestionData } from "../../support/migrationHelpers/verifyIeQuestionData";
6
+ import abortEarlySetup from "../../support/helpers/abortEarly";
6
7
 
7
8
  const migrationQuestionTypes = Cypress.env('migrationQuestionTypes');//["drawingResponse"]
8
9
  const migrationQuestionTypesLrn = migrationQuestionTypes.map((questionType) => lrnQuestionTypesENUM[questionType]);
@@ -23,6 +24,7 @@ if (referenceIds.length > 0) {
23
24
 
24
25
  referenceIds.forEach((referenceId) => {
25
26
  describe(`Migration item check for item "${referenceId}"`, () => {
27
+ abortEarlySetup();
26
28
  before(() => {
27
29
  cy.interceptGraphql('getItemPreview');
28
30
  cy.setGraphqlWait();
@@ -3,6 +3,7 @@ import utilities from "../../support/helpers/utilities";
3
3
  import { extractLrnQuestionData, lrnPage } from "../../support/migrationHelpers/extractLrnQuestionData";
4
4
  import lrnQuestionTypesENUM from "../../support/migrationHelpers/lrnQestionTypesENUM";
5
5
  import { verifyIeQuestionData } from "../../support/migrationHelpers/verifyIeQuestionData";
6
+ import abortEarlySetup from "../../support/helpers/abortEarly";
6
7
 
7
8
  const migrationQuestionTypes = Cypress.env('migrationQuestionTypes');//["drawingResponse"]
8
9
  const migrationQuestionTypesLrn = migrationQuestionTypes.map((questionType) => lrnQuestionTypesENUM[questionType]);
@@ -23,6 +24,7 @@ if (referenceIds.length > 0) {
23
24
 
24
25
  referenceIds.forEach((referenceId) => {
25
26
  describe(`Migration item check for item "${referenceId}"`, () => {
27
+ abortEarlySetup();
26
28
  before(() => {
27
29
  cy.interceptGraphql('getItemPreview');
28
30
  cy.setGraphqlWait();
@@ -3,6 +3,7 @@ import utilities from "../../support/helpers/utilities";
3
3
  import { extractLrnQuestionData, lrnPage } from "../../support/migrationHelpers/extractLrnQuestionData";
4
4
  import lrnQuestionTypesENUM from "../../support/migrationHelpers/lrnQestionTypesENUM";
5
5
  import { verifyIeQuestionData } from "../../support/migrationHelpers/verifyIeQuestionData";
6
+ import abortEarlySetup from "../../support/helpers/abortEarly";
6
7
 
7
8
  const migrationQuestionTypes = Cypress.env('migrationQuestionTypes');//["drawingResponse"]
8
9
  const migrationQuestionTypesLrn = migrationQuestionTypes.map((questionType) => lrnQuestionTypesENUM[questionType]);
@@ -23,6 +24,7 @@ if (referenceIds.length > 0) {
23
24
 
24
25
  referenceIds.forEach((referenceId) => {
25
26
  describe(`Migration item check for item "${referenceId}"`, () => {
27
+ abortEarlySetup();
26
28
  before(() => {
27
29
  cy.interceptGraphql('getItemPreview');
28
30
  cy.setGraphqlWait();
@@ -3,6 +3,7 @@ import utilities from "../../support/helpers/utilities";
3
3
  import { extractLrnQuestionData, lrnPage } from "../../support/migrationHelpers/extractLrnQuestionData";
4
4
  import lrnQuestionTypesENUM from "../../support/migrationHelpers/lrnQestionTypesENUM";
5
5
  import { verifyIeQuestionData } from "../../support/migrationHelpers/verifyIeQuestionData";
6
+ import abortEarlySetup from "../../support/helpers/abortEarly";
6
7
 
7
8
  const migrationQuestionTypes = Cypress.env('migrationQuestionTypes');//["drawingResponse"]
8
9
  const migrationQuestionTypesLrn = migrationQuestionTypes.map((questionType) => lrnQuestionTypesENUM[questionType]);
@@ -23,6 +24,7 @@ if (referenceIds.length > 0) {
23
24
 
24
25
  referenceIds.forEach((referenceId) => {
25
26
  describe(`Migration item check for item "${referenceId}"`, () => {
27
+ abortEarlySetup();
26
28
  before(() => {
27
29
  cy.interceptGraphql('getItemPreview');
28
30
  cy.setGraphqlWait();
@@ -3,6 +3,7 @@ import utilities from "../../support/helpers/utilities";
3
3
  import { extractLrnQuestionData, lrnPage } from "../../support/migrationHelpers/extractLrnQuestionData";
4
4
  import lrnQuestionTypesENUM from "../../support/migrationHelpers/lrnQestionTypesENUM";
5
5
  import { verifyIeQuestionData } from "../../support/migrationHelpers/verifyIeQuestionData";
6
+ import abortEarlySetup from "../../support/helpers/abortEarly";
6
7
 
7
8
  const migrationQuestionTypes = Cypress.env('migrationQuestionTypes');//["drawingResponse"]
8
9
  const migrationQuestionTypesLrn = migrationQuestionTypes.map((questionType) => lrnQuestionTypesENUM[questionType]);
@@ -23,6 +24,7 @@ if (referenceIds.length > 0) {
23
24
 
24
25
  referenceIds.forEach((referenceId) => {
25
26
  describe(`Migration item check for item "${referenceId}"`, () => {
27
+ abortEarlySetup();
26
28
  before(() => {
27
29
  cy.interceptGraphql('getItemPreview');
28
30
  cy.setGraphqlWait();
@@ -3,6 +3,7 @@ import utilities from "../../support/helpers/utilities";
3
3
  import { extractLrnQuestionData, lrnPage } from "../../support/migrationHelpers/extractLrnQuestionData";
4
4
  import lrnQuestionTypesENUM from "../../support/migrationHelpers/lrnQestionTypesENUM";
5
5
  import { verifyIeQuestionData } from "../../support/migrationHelpers/verifyIeQuestionData";
6
+ import abortEarlySetup from "../../support/helpers/abortEarly";
6
7
 
7
8
  const migrationQuestionTypes = Cypress.env('migrationQuestionTypes');//["drawingResponse"]
8
9
  const migrationQuestionTypesLrn = migrationQuestionTypes.map((questionType) => lrnQuestionTypesENUM[questionType]);
@@ -23,6 +24,7 @@ if (referenceIds.length > 0) {
23
24
 
24
25
  referenceIds.forEach((referenceId) => {
25
26
  describe(`Migration item check for item "${referenceId}"`, () => {
27
+ abortEarlySetup();
26
28
  before(() => {
27
29
  cy.interceptGraphql('getItemPreview');
28
30
  cy.setGraphqlWait();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "itemengine-cypress-automation",
3
- "version": "1.0.147-migrationScripts-83ce324.0",
3
+ "version": "1.0.147",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -35,4 +35,4 @@
35
35
  "node-fetch": "^3.3.2",
36
36
  "react-uuid": "^2.0.0"
37
37
  }
38
- }
38
+ }
package/language DELETED
@@ -1 +0,0 @@
1
- npm