scroll upload progress into view

This commit is contained in:
Karol Wypchlo 2020-08-18 15:48:55 +02:00
parent 05b8b32a2a
commit 51a8e7318e
2 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ context("Skynet", () => {
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
cy.wait("@upload", { responseTimeout: 2 * 60 * 1000 });