Skip to content

new SDK tests (#604) #215

new SDK tests (#604)

new SDK tests (#604) #215

GitHub Actions / E2E report yarn test-rewards-bootstrap succeeded Oct 2, 2023 in 0s

E2E report yarn test-rewards-bootstrap ✔️

Tests passed successfully

✔️ e2eTests/reports/junit-27d688d0-6116-11ee-8bc6-1b8640126bbe.xml

8 tests were completed in 2273s with 8 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/bootstrap.configuration.test.ts 2✔️ 516s
test/sequential/bootstrap.updatePromotion.test.ts 1✔️ 557s
test/sequential/xyk-pallet.asset.bootstrap.register.test.ts 5✔️ 1200s

✔️ test/sequential/bootstrap.configuration.test.ts

✔️ bootstrap - Check non-sudo user cannot start bootstrap
✔️ bootstrap - Check happy path bootstrap with one user

✔️ test/sequential/bootstrap.updatePromotion.test.ts

✔️ bootstrap - bootstrap - Check if we can change promoteBootstrapPool in each phase

✔️ test/sequential/xyk-pallet.asset.bootstrap.register.test.ts

✔️ register asset and then try to register new one with the same location, expect to conflict
✔️ register asset with xyk disabled and try to schedule bootstrap, expect to success
✔️ register asset with xyk enabled and try to schedule bootstrap, expect to success
✔️ try to schedule bootstrap for token when does not have AssetRegistry, expect to success
✔️ register asset without asset metadata  and try to schedule bootstrap, expect to success