diff --git a/cypress/integration/intergration.spec.js b/cypress/integration/intergration.spec.js index ab94bdec..3e1a43fa 100644 --- a/cypress/integration/intergration.spec.js +++ b/cypress/integration/intergration.spec.js @@ -17,9 +17,7 @@ context("Skynet", () => { const fileName = "check.json"; - cy.fixture(fileName).then((fileContent) => { - cy.get('.home-upload input[type="file"]').upload({ fileContent, fileName, mimeType: "application/json" }); - }); + cy.get('.home-upload input[type="file"]').attachFile(fileName); cy.get(".home-uploaded-files").children().should("have.length", 1);