Merge pull request #347 from NebulousLabs/fix-e2e-tests

Fix e2e tests
This commit is contained in:
Karol Wypchło 2020-08-18 17:50:43 +02:00 committed by GitHub
commit eb6b8edc23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ jobs:
- name: "Build webapp"
run: yarn workspace webapp build
env:
GATSBY_API_URL: "https://siasky.net"
GATSBY_API_URL: "https://siasky.dev"
- name: Cypress run
uses: cypress-io/github-action@v1

View File

@ -19,7 +19,7 @@ context("Skynet", () => {
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
cy.wait("@upload", { responseTimeout: 2 * 60 * 1000 });