Skip to content

run e2es

run e2es #814

GitHub Actions / E2E report yarn test-maintenance succeeded Dec 7, 2024 in 0s

E2E report yarn test-maintenance ✅

Tests passed successfully

✅ e2eTests/reports/junit.xml-40aa53e0-b481-11ef-aa6f-a726ca16807c.xml

24 tests were completed in 918s with 23 passed, 0 failed and 1 skipped.

Test suite Passed Failed Skipped Time
test/sequential/maintenance-pallet.api.rolldown.test.ts 16✅ 642s
test/sequential/xyk-pallet.api.maintenance-config.test.ts 2✅ 1⚪ 132s
test/sequential/xyk-pallet.api.maintenance-rules.test.ts 5✅ 144s

✅ test/sequential/maintenance-pallet.api.rolldown.test.ts

On [mm] - regular l1 updates must be forbidden › On [%s] - regular l1 updates must be forbidden
  ✅ updateL2fromL1 operation is not allowed in mm
  ✅ withdraw operation is not allowed in mm
  ✅ cancelRequestsFromL1 operation is not allowed in mm
  ✅ forceCancelRequestsFromL1 operation is not allowed in mm
  ✅ forceUpdateL2fromL1 operation is not allowed in mm
  ✅ sequencerSetup operations are allowed in mm
  ✅ sequencerTearDown operations are allowed in mm
  ✅ Update is blocked on maintenance mode but works on upgradeability
On [upgradabilityMm] - regular l1 updates must be forbidden › On [%s] - regular l1 updates must be forbidden
  ✅ updateL2fromL1 operation is not allowed in mm
  ✅ withdraw operation is not allowed in mm
  ✅ cancelRequestsFromL1 operation is not allowed in mm
  ✅ forceCancelRequestsFromL1 operation is not allowed in mm
  ✅ forceUpdateL2fromL1 operation is not allowed in mm
  ✅ sequencerSetup operations are allowed in mm
  ✅ sequencerTearDown operations are allowed in mm
  ✅ Update is blocked on maintenance mode but works on upgradeability

✅ 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
On Maintenance mode - aggregators and candidates are allowed
  ✅ Join as candidate , Aggregate metadata and update CandidateAgg runs on Mm