Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

End-to-end browser tests for the web ui (Cypress-based) #362

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

shesek
Copy link
Collaborator

@shesek shesek commented Jan 22, 2022

  • Includes tests for the homepage, block page, transaction page and address page.

  • Currently supports Bitcoin mode only, supporting Liquid is up next.

  • The tests can be run against a docker regtest environment by running npm run test:docker inside the tests directory.

    Alternatively, npm run test can be used to run the tests against an existing esplora instance. This requires BASE_URL and BITCOIND_URL to be configured.

    npm run test:runner (with the same env vars) can be used to open the Cypress Test Runner UI:

    image

  • CI integration is still not implemented.

To make the Bitcoin Core RPC server accessible from outside
the container (needed to assist testing).
So that we actually have some mature coinbase rewards to spend.
@shesek shesek changed the title 202201 tests Cypress-based 2e2 tests for the web ui Jan 22, 2022
@shesek shesek changed the title Cypress-based 2e2 tests for the web ui Cypress-based e2e browser tests for the web ui Jan 22, 2022
@shesek shesek changed the title Cypress-based e2e browser tests for the web ui End-to-end browser tests for the web ui (Cypress-based) Jan 23, 2022
@shesek
Copy link
Collaborator Author

shesek commented Jan 23, 2022

The tests were mostly adapted for Elements/Liquid but are currently blocked by ElementsProject/elements#1088.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant