improve cypress debugging
This commit is contained in:
parent
0403a5a8da
commit
0cf50720fe
|
@ -19,7 +19,8 @@ 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).scrollIntoView();
|
cy.get(".home-upload").scrollIntoView();
|
||||||
|
cy.get(".home-uploaded-files").children().should("have.length", 1);
|
||||||
|
|
||||||
// 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 });
|
||||||
|
|
Reference in New Issue