moved json import out of tests folder (#926)
This commit is contained in:
parent
bc1e83e63a
commit
cf5ec940c6
4 changed files with 9 additions and 9 deletions
|
@ -7,16 +7,16 @@ export default class GroupModal {
|
||||||
}
|
}
|
||||||
|
|
||||||
typeResourceFile = (filename: string) => {
|
typeResourceFile = (filename: string) => {
|
||||||
cy.readFile(
|
cy.readFile("cypress/fixtures/partial-import-test-data/" + filename).then(
|
||||||
"cypress/integration/partial-import-test-data/" + filename
|
(myJSON) => {
|
||||||
).then((myJSON) => {
|
|
||||||
const text = JSON.stringify(myJSON);
|
const text = JSON.stringify(myJSON);
|
||||||
|
|
||||||
cy.get("#partial-import-file").type(text, {
|
cy.get("#partial-import-file").type(text, {
|
||||||
parseSpecialCharSequences: false,
|
parseSpecialCharSequences: false,
|
||||||
delay: 0
|
delay: 0,
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
}
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
importButton() {
|
importButton() {
|
||||||
|
|
Loading…
Reference in a new issue