Skip to content

Reusable e2e tests workflow #158

Reusable e2e tests workflow

Reusable e2e tests workflow #158

GitHub Actions / E2E report yarn test-rewards-bootstrap succeeded May 21, 2024 in 1s

E2E report yarn test-rewards-bootstrap ✅

Tests passed successfully

✅ e2eTests/reports/junit.xml-4dcd1c10-178d-11ef-b7d9-1d2887f92a5c.xml

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

Test suite Passed Failed Skipped Time
test/sequential/bootstrap.configuration.test.ts 2✅ 204s
test/sequential/bootstrap.updatePromotion.test.ts 1✅ 216s
test/sequential/xyk-pallet.asset.bootstrap.register.test.ts 5✅ 396s

✅ 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 - Check possibility to 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