Reusable e2e tests workflow #145
GitHub Actions / E2E report yarn test-maintenance
succeeded
Apr 18, 2024 in 1s
E2E report yarn test-maintenance ✅
✅ e2eTests/reports/junit.xml-234eb5f0-fd86-11ee-9545-c7dd6f77a616.xml
9 tests were completed in 384s with 9 passed, 0 failed and 0 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test/sequential/xyk-pallet.api.maintenance-config.test.ts | 3✅ | 258s | ||
test/sequential/xyk-pallet.api.maintenance-rules.test.ts | 6✅ | 126s |
✅ test/sequential/xyk-pallet.api.maintenance-config.test.ts
✅ maintenance- try to change Maintenance Mode with a non-foundation account THEN it failed
✅ check UpgradabilityOn can only be set after MaintenanceModeOn is set and MaintenanceMode works without UpgradabilityOn
✅ maintenance- check we can sell MGX tokens and compoundRewards THEN switch maintenanceMode to on, repeat the operation and receive error
✅ test/sequential/xyk-pallet.api.maintenance-rules.test.ts
On Maintenance mode - multiSwaps / swaps / compound / prov liq are not allowed
✅ multiswapSellAsset operation is not allowed in mm
✅ multiswapBuyAsset operation is not allowed in mm
✅ sellAsset operation is not allowed in mm
✅ buyAsset operation is not allowed in mm
✅ provideLiquidity operation is not allowed in mm
On Maintenance mode - aggregators and candidates are allowed
✅ Join as candidate , Aggregate metadata and update CandidateAgg runs on Mm
Loading