Commit Graph

21 Commits

Author SHA1 Message Date
Felipe Knorr Kuhn
db4a13389a
Update liquid tests to use the new css selector 2022-03-19 22:12:44 -07:00
softsimon
b634984ca6
Correcting more tests. 2022-02-07 03:34:15 +04:00
softsimon
0863405671
Correcting tests. i18n strings and asset links. 2022-02-07 03:34:15 +04:00
Felipe Knorr Kuhn
0ff6cd19c3
Update tests: use ids for nav bar items and new scenarios for bisq and liquid 2022-01-22 14:23:09 -08:00
Felipe Knorr Kuhn
6637477ac9
Update Liquid tests 2022-01-20 21:30:22 -08:00
softsimon
afbced3f4d
Adapting tests 2022-01-08 20:44:45 +04:00
Felipe Knorr Kuhn
bcbc60b456
Fix test assertion 2021-12-16 09:31:02 -08:00
Felipe Knorr Kuhn
24d4b643e5
Add failing test for Liquid unconfidential address layout issue 2021-12-15 00:02:21 -08:00
Felipe Knorr Kuhn
9510c7d2ea
Add tests for Liquid peg in and peg out addresses 2021-12-09 15:48:58 -08:00
Miguel Medeiros
0639ce9b07
fix: mempool empty block. 2021-11-15 14:16:27 -03:00
Felipe Knorr Kuhn
5139ffb4df
Update e2e tests BASE_MODULE resolution 2021-10-27 20:40:44 -07:00
Felipe Knorr Kuhn
dd5d87e91e
Add a test for not showing unblinding errors on regular TXs (#737) 2021-08-22 00:34:40 +03:00
Felipe Knorr Kuhn
d7cf2b37d5 Update Liquid test data 2021-08-17 16:49:34 -07:00
Felipe Knorr Kuhn
de5518d262 update test specs to handle the new multisite setup on CI 2021-08-17 15:53:57 -07:00
softsimon
ae51ee3e26
Removing issuance id test and fixing asset id test. 2021-08-14 02:21:38 +03:00
Miguel Medeiros
226e72451c
Fix colorized unblinded transaction. (#671) 2021-07-29 13:37:17 +03:00
Felipe Knorr Kuhn
8a44ccc55d
small formatting fix to trigger more tests (#660) 2021-07-26 01:49:40 +03:00
Felipe Knorr Kuhn
9e46cde9b7
Updates to the e2e suite (#659)
* initial version of the update config script

* fix duplicated content

* update cypress ci settings

* add workflow to run e2e tests when pushing

* record cypress results to the dashboard

* pull the cypress record key and project id from the secrets

* add start-server-and-test to replace concurrently

* replace concurrently with start-server-and-test

* remove concurrently

* add new cypress target to record

* update cypress to 7.7.0

* add tests for signet

* add tests for testnet

* run tests on chrome and firefox

* update test matrix: add edge and run firefox on container

* fix copypasta

* update docker image for firefox

* fix task name again

* fix edge tests task name

* improve bisq tests

* update workflow config

* enable cypress debug logs

* add a manual trigger for the e2e tests

* add config:defaults target

* use more of the GHA options

* fix config command

* add cypress-fail-on-console-error

* upgrade cypress to v8.0.0

* add helper to wait for the loader skeleton to be gone

* use skeleton waiter on the tests

* remove manual test trigger

* fix tv test when only one mempool block is available

* add waiter for pagination

* add extra steps to debug firefox launch issue

* remove whoami step

* Revert "upgrade cypress to v8.0.0"

This reverts commit cb3ff7d906.

* remove userinfo debug step

* enable test retries in run mode

* update proxy config to reduce ECONNRESET errors

* add mock-socket dev dependency

* add helpers to mock websockets and detect page idleness

* stabilize mainnet tests

* fix tv mode test on Liquid

* add basic tests for the mainnet status page

* cleanup mainnet tests

* update bisq tests

* update signet tests

* update testnet tests

* add initial support for parameterized websocket mocks

* move testing dependencies to optionalDependencies

* comment out mempool size check until the live updates are fixed

* comment out tx regex test

* update fixture for the new difficulty adjustment component

* fix the assertions on the status page
2021-07-25 21:03:47 +03:00
Miguel Medeiros
9dae7020c8
Liquid support for unblinding transactions. (#588)
* Add docker file to generate wallycore wasm js lib.

* Add unblinded liquid transactions.

* Add background to unblided transactions.

* Check liquid network to try to unblind tx.

Ww don't want to try to unblind transactions in other networks.

Co-authored-by: Felipe Knorr Kuhn <100320+knorrium@users.noreply.github.com>

* Delete libwally-core dockerfile.

* Delete wallycore.html.

* Fix validation unblind tx.
Fix lint.
Add errorUnblinded.
Add vin.prevout unblinded tx.

* Add e2e testing to liquids unblinded tx.

* Load libwally.js dynamically.

* Fix table size.

* Add Blockstream License to libwally and wallycore.

Co-authored-by: Felipe Knorr Kuhn <100320+knorrium@users.noreply.github.com>
2021-07-06 19:56:32 +03:00
Miguel Medeiros
0121052f0b
Fix lint errors. (#556) 2021-06-07 15:48:27 -04:00
Felipe Knorr Kuhn
1bd0c40c15
New e2e test suite (#555)
* add @cypress/schematic as a dev dependency

* replace protractor with cypress

* remove the boilerplate test

* add the cypress-wait-until helper library

* add cypress-wait-until to all tests

* add signet to stg proxy config

* add proxy config for production

* add environment configs to angular.json

* update e2e target to use the production proxy

* update serve and start scripts to use the new environment config

* add the concurrently lib to the dev dependencies

* fix missing import

* ignore videos and screenshots saved by the e2e suite

* add fixtures for the tests

* update cypress npm scripts to use concurrently

* add some e2e tests
2021-06-07 10:36:41 -04:00