add 2 minute timeout on upload request
This commit is contained in:
parent
6f066aea05
commit
f5b3a054b5
|
@ -21,7 +21,8 @@ context("Skynet", () => {
|
||||||
|
|
||||||
cy.get(".home-uploaded-files").children().should("have.length", 1);
|
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.contains(".upload-file", fileName).within(() => {
|
||||||
cy.get(".url")
|
cy.get(".url")
|
||||||
|
|
Reference in New Issue