Skip to content
Snippets Groups Projects
Commit f42e75d5 authored by Hugo Trentesaux's avatar Hugo Trentesaux Committed by Hugo Trentesaux
Browse files

panic if failed steps

parent f679cd24
Branches
Tags
1 merge request!210Resolve "Tests E2E fails but CI pass"
Pipeline #34712 failed
......@@ -669,12 +669,18 @@ async fn main() {
.run(features_path)
.await;
if summarize.failed_steps() > 0 {
panic!("Could not run tests correctly (failed steps)");
}
if summarize.hook_errors() > 0 {
panic!("Could not run tests correctly (hook errors)");
}
if summarize.parsing_errors() > 0 {
panic!("Could not run tests correctly (parsing errors)");
}
if summarize.execution_has_failed() {
panic!("Could not run tests correctly (execution has failed)");
}
}
fn genesis_conf_name(feature_tags: &[String], scenario_tags: &[String]) -> String {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment