Skip to content
Snippets Groups Projects

Resolve "Tests E2E fails but CI pass"

1 unresolved thread
@@ -669,9 +669,18 @@ async fn main() {
@@ -669,9 +669,18 @@ async fn main() {
.run(features_path)
.run(features_path)
.await;
.await;
 
if summarize.failed_steps() > 0 {
 
panic!("Could not run tests correctly (failed steps)");
 
}
if summarize.hook_errors() > 0 {
if summarize.hook_errors() > 0 {
panic!("Could not run tests correctly (hook errors)");
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 {
fn genesis_conf_name(feature_tags: &[String], scenario_tags: &[String]) -> String {
Loading