diff --git a/cypress/integration/partial-import-test-data/client-only.json b/cypress/fixtures/partial-import-test-data/client-only.json similarity index 100% rename from cypress/integration/partial-import-test-data/client-only.json rename to cypress/fixtures/partial-import-test-data/client-only.json diff --git a/cypress/integration/partial-import-test-data/kcexport.json b/cypress/fixtures/partial-import-test-data/kcexport.json similarity index 100% rename from cypress/integration/partial-import-test-data/kcexport.json rename to cypress/fixtures/partial-import-test-data/kcexport.json diff --git a/cypress/integration/partial-import-test-data/multi-realm.json b/cypress/fixtures/partial-import-test-data/multi-realm.json similarity index 100% rename from cypress/integration/partial-import-test-data/multi-realm.json rename to cypress/fixtures/partial-import-test-data/multi-realm.json diff --git a/cypress/support/pages/admin_console/configure/realm_settings/PartialImportModal.ts b/cypress/support/pages/admin_console/configure/realm_settings/PartialImportModal.ts index 6bdc1dfd82..bff8097c18 100644 --- a/cypress/support/pages/admin_console/configure/realm_settings/PartialImportModal.ts +++ b/cypress/support/pages/admin_console/configure/realm_settings/PartialImportModal.ts @@ -7,16 +7,16 @@ export default class GroupModal { } typeResourceFile = (filename: string) => { - cy.readFile( - "cypress/integration/partial-import-test-data/" + filename - ).then((myJSON) => { - const text = JSON.stringify(myJSON); + cy.readFile("cypress/fixtures/partial-import-test-data/" + filename).then( + (myJSON) => { + const text = JSON.stringify(myJSON); - cy.get("#partial-import-file").type(text, { - parseSpecialCharSequences: false, - delay: 0 - }); - }); + cy.get("#partial-import-file").type(text, { + parseSpecialCharSequences: false, + delay: 0, + }); + } + ); }; importButton() {