commit
eb6b8edc23
|
@ -28,7 +28,7 @@ jobs:
|
||||||
- name: "Build webapp"
|
- name: "Build webapp"
|
||||||
run: yarn workspace webapp build
|
run: yarn workspace webapp build
|
||||||
env:
|
env:
|
||||||
GATSBY_API_URL: "https://siasky.net"
|
GATSBY_API_URL: "https://siasky.dev"
|
||||||
|
|
||||||
- name: Cypress run
|
- name: Cypress run
|
||||||
uses: cypress-io/github-action@v1
|
uses: cypress-io/github-action@v1
|
||||||
|
|
|
@ -19,7 +19,7 @@ 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);
|
cy.get(".home-uploaded-files").children().should("have.length", 1).scrollIntoView();
|
||||||
|
|
||||||
// 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 });
|
||||||
|
|
Binary file not shown.
Reference in New Issue