Skip to content

Reusable e2e tests workflow #214

Reusable e2e tests workflow

Reusable e2e tests workflow #214

GitHub Actions / E2E report yarn test-sequencerCancellation succeeded Aug 9, 2024 in 0s

E2E report yarn test-sequencerCancellation ✅

Tests passed successfully

✅ e2eTests/reports/junit.xml-a0b0aff0-5649-11ef-9a17-85cc9979d89c.xml

5 tests were completed in 1704s with 5 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/sequential/sequencerStaking.cancel.test.ts 5✅ 1704s

✅ test/sequential/sequencerStaking.cancel.test.ts

✅ GIVEN a sequencer, WHEN <correctly> canceling an update THEN a % of the slash is given to it
✅ GIVEN a sequencer, WHEN <in-correctly> canceling an update THEN my slash is burned
✅ GIVEN a sequencer, WHEN <no> canceling an update THEN no slash is applied
✅ GIVEN a slashed sequencer, WHEN slashed it can not provide any update / cancel until the next session ( if gets elected )
✅ GIVEN a sequencer, WHEN <in-correctly> canceling an update AND some pending updates/cancels, THEN it can be still slashed and kicked, cancels & updates will be executed.