Open
Description
Must combine tests from https://github.com/lidofinance/scripts and https://github.com/lidofinance/lido-dao repo.
Plan:
- Prepare GitHub action to run integration tests in the
core
CD/CI pipeline. - Prepare GitHub action to run our integration tests in the
scripts
CD/CI pipeline. - Move tests from scripts repo:
- test_all_round_happy_path.py ⇒ Submitting Ether to the pool consumes prohibitively high amount of gas #105
- test_accounting.py ⇒ Allow submitting arbitrary ETH amounts via the UI #136
- test_accounting_oracle_extra_data.py
- Need to check: can it be combined with the next one?
- test_accounting_oracle_extra_data_full_items.py
- test_burn_shares.py
- test_el_rewards.py
- Need to check: covered by Unit tests? Or skipped / assigned to dao team.
- test_hash_consensus_negative.py
- Need to check: covered by Unit tests?
- test_nft_url.py
- test_node_operators_flow.py
- Need to check: ValSet team? Covered by Unit tests?
- test_pause_resume.py
- Need to check: covered by Unit tests?
- test_pause_role_tests.py
- Need to check: may be covered with an acceptance test via StateMate?
- test_permissions.py
- Need to check: may be covered with an acceptance test via StateMate?
- test_sanity_checks.py
- Need to check: covered by Unit tests?
- test_sdvt_rewards_happy_path.py
- Need to check: ValSet team? Or repeated in Happy Path test.
- test_sdvt_splitter_rewards_distribution.py
- Need to check: ValSet team? Or covered by Unit tests?
- test_staking_limits.py
- Need to check: covered by Unit tests?
- test_staking_module_happy_path.py
- test_staking_router_stake_distribution.py
- Need to check: covered by Unit tests?
- test_validator_exit_bus_happy_path.py
- Need to check: covered by Unit tests?
- test_withdrawal_edge_cases.py
- test_withdrawal_happy_path.py
- Prepare PR to remove those tests from the
scripts
repo:- feat: enable core repo integration tests scripts#239
- Update when all done
- Move tests from
lido-dao
repo:- changing_oracles_during_epoch.test.js
- deposit.test.js
- execution_layer_rewards_after_the_merge.test.js
- lido-wq-acct-oracle-integration-gas.test.js
- lido_deposit_iteration_limit.test.js
- lido_happy_path.test.js
- lido_penalties_slashing.test.js
- lido_rewards_distribution_math.test.js
- Check https://docs.lido.fi for backlinks to scenario tests (e.g. https://docs.lido.fi/guides/protocol-levers/#deposit-loop-iteration-limit)