add 2 minute timeout on upload request

This commit is contained in:
Karol Wypchlo 2020-04-23 17:36:34 +02:00
parent 6f066aea05
commit f5b3a054b5
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@ context("Skynet", () => {
cy.get(".home-uploaded-files").children().should("have.length", 1);
cy.wait("@upload");
// wait max 2 minutes, the portal might be slow at times
cy.wait("@upload", { responseTimeout: 2 * 60 * 1000 });
cy.contains(".upload-file", fileName).within(() => {
cy.get(".url")