From f5b3a054b5544c9a5478154ac7208c95dea0c9df Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Thu, 23 Apr 2020 17:36:34 +0200 Subject: [PATCH] add 2 minute timeout on upload request --- cypress/integration/intergration.spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cypress/integration/intergration.spec.js b/cypress/integration/intergration.spec.js index 3e1a43fa..61a32449 100644 --- a/cypress/integration/intergration.spec.js +++ b/cypress/integration/intergration.spec.js @@ -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")