diff --git a/src/extensions/smart-analysis.extension.js b/src/extensions/smart-analysis.extension.js index 9f94c1e..709f460 100644 --- a/src/extensions/smart-analysis.extension.js +++ b/src/extensions/smart-analysis.extension.js @@ -38,14 +38,14 @@ class SmartAnalysisExtension extends BaseExtension { const execution_metrics = data.execution_metrics[0]; const smart_analysis = []; - if (execution_metrics.always_failing) { - smart_analysis.push(`🔴 AF: ${execution_metrics.always_failing}`); - } if (execution_metrics.newly_failed) { smart_analysis.push(`⭕ NF: ${execution_metrics.newly_failed}`); } + if (execution_metrics.always_failing) { + smart_analysis.push(`🔴 AF: ${execution_metrics.always_failing}`); + } if (execution_metrics.recurring_failures) { - smart_analysis.push(`🔺 RF: ${execution_metrics.recurring_failures}`); + smart_analysis.push(`🟠 RF: ${execution_metrics.recurring_failures}`); } if (execution_metrics.flaky) { smart_analysis.push(`🟡 FL: ${execution_metrics.flaky}`); diff --git a/test/mocks/teams.mock.js b/test/mocks/teams.mock.js index 1123ac4..d684790 100644 --- a/test/mocks/teams.mock.js +++ b/test/mocks/teams.mock.js @@ -1611,7 +1611,7 @@ addInteractionHandler('post test-summary with beats to teams with ai failure sum }, { "type": "TextBlock", - "text": "🔴 AF: 1 | ⭕ NF: 1 | 🟡 FL: 1 | 🟢 RC: 1", + "text": "⭕ NF: 1 | 🔴 AF: 1 | 🟡 FL: 1 | 🟢 RC: 1", "wrap": true } ],