Merge pull request #132 from NebulousLabs/dependabot/npm_and_yarn/cypress-file-upload-4.0.4
This commit is contained in:
commit
ff34e4e0c4
|
@ -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);
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"cypress": "^4.2.0",
|
||||
"cypress-file-upload": "^3.5.3",
|
||||
"cypress-file-upload": "^4.0.4",
|
||||
"eslint": "^6.8.0",
|
||||
"eslint-config-prettier": "^6.10.1",
|
||||
"eslint-plugin-cypress": "^2.10.3",
|
||||
|
|
10
yarn.lock
10
yarn.lock
|
@ -3746,10 +3746,12 @@ cyclist@^1.0.1:
|
|||
resolved "https://registry.yarnpkg.com/cyclist/-/cyclist-1.0.1.tgz#596e9698fd0c80e12038c2b82d6eb1b35b6224d9"
|
||||
integrity sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk=
|
||||
|
||||
cypress-file-upload@^3.5.3:
|
||||
version "3.5.3"
|
||||
resolved "https://registry.yarnpkg.com/cypress-file-upload/-/cypress-file-upload-3.5.3.tgz#cd706485de3fb2cbd4a8c2dd90fe96d537bb4311"
|
||||
integrity sha512-S/czzqAj1BYz6Xxnfpx2aSc6hXsj76fd8/iuycJ2RxoxCcQMliw8eQV0ugzVlkzr1GD5dKGviNFGYqv3nRJ+Tg==
|
||||
cypress-file-upload@^4.0.4:
|
||||
version "4.0.4"
|
||||
resolved "https://registry.yarnpkg.com/cypress-file-upload/-/cypress-file-upload-4.0.4.tgz#21863212267b2c31f5e824fc57e5cd445aa3635f"
|
||||
integrity sha512-q04HoVb8OQTpusHOadGER+9Dvif7kfoM8MjVAF37O+X5VEZlUARbXrKECH6pUH0vKmWRGcrsoB6mKah9ZJa4Pw==
|
||||
dependencies:
|
||||
mime "^2.4.4"
|
||||
|
||||
cypress@^4.2.0:
|
||||
version "4.2.0"
|
||||
|
|
Reference in New Issue