diff --git a/end2end-tests/README.md b/end2end-tests/README.md index e879c4b9e5cdfe65e71491b573261da5ba36c54b..1205be0dac892ea936b189bf212d5f0c0a81eca7 100644 --- a/end2end-tests/README.md +++ b/end2end-tests/README.md @@ -125,7 +125,7 @@ For some scenarios, you may need to perform an action (When) that fails voluntar ### Run cucumber functional tests -The cucumber tests use the last debug binary in your `target` folder. Make sure this binary corresponds to the executable you want to test by running `cargo build` before. +The cucumber tests use the last debug binary in your `target` folder. Make sure this binary corresponds to the executable you want to test by running `cargo build --features constant-fees` before. To run the cucumber tests, you will need to have the rust toolchain installed locally. diff --git a/end2end-tests/cucumber-features/distance_fail.feature b/end2end-tests/cucumber-features/distance_fail.feature index 779fbe408c87c9cea4ee71551535b0f291f7f9f3..1abb9df532bda6e0dd03da47b8885fe39af3d30e 100644 --- a/end2end-tests/cucumber-features/distance_fail.feature +++ b/end2end-tests/cucumber-features/distance_fail.feature @@ -36,6 +36,7 @@ Feature: Distance fail Then ferdie should have 10 ĞD reserved Then ferdie should have 449 cĞD When 7 blocks later + Then treasury should contain 102 cĞD When alice runs distance oracle When 7 blocks later Then ferdie should be certified by alice @@ -45,4 +46,5 @@ Feature: Distance fail # Ferdie got his reserve slashed Then ferdie should have 0 ĞD reserved Then ferdie should have 449 cĞD - #Then treasury should contain 11 ĞD + # Slashed amount is transfered to treasury + Then treasury should contain 1102 cĞD