Merge remote-tracking branch 'origin/master' into skynet-js-3.0.0
This commit is contained in:
commit
bebcb8f611
|
@ -17,7 +17,7 @@ context("Skynet", () => {
|
||||||
const fileName = "check.json";
|
const fileName = "check.json";
|
||||||
|
|
||||||
cy.wait(1000); // delay for drag-and-drop to work properly every time
|
cy.wait(1000); // delay for drag-and-drop to work properly every time
|
||||||
cy.get('.home-upload input[type="file"]').attachFile(fileName, { subjectType: 'drag-n-drop' });
|
cy.get('.home-upload input[type="file"]').attachFile(fileName, { subjectType: "drag-n-drop" });
|
||||||
|
|
||||||
cy.get(".home-upload").scrollIntoView();
|
cy.get(".home-upload").scrollIntoView();
|
||||||
cy.get(".home-uploaded-files").children().should("have.length", 1);
|
cy.get(".home-uploaded-files").children().should("have.length", 1);
|
||||||
|
|
Reference in New Issue