scroll upload progress into view
This commit is contained in:
parent
05b8b32a2a
commit
51a8e7318e
|
@ -19,7 +19,7 @@ context("Skynet", () => {
|
||||||
|
|
||||||
cy.get('.home-upload input[type="file"]').attachFile(fileName);
|
cy.get('.home-upload input[type="file"]').attachFile(fileName);
|
||||||
|
|
||||||
cy.get(".home-uploaded-files").children().should("have.length", 1);
|
cy.get(".home-uploaded-files").children().should("have.length", 1).scrollIntoView();
|
||||||
|
|
||||||
// wait max 2 minutes, the portal might be slow at times
|
// wait max 2 minutes, the portal might be slow at times
|
||||||
cy.wait("@upload", { responseTimeout: 2 * 60 * 1000 });
|
cy.wait("@upload", { responseTimeout: 2 * 60 * 1000 });
|
||||||
|
|
Binary file not shown.
Reference in New Issue