Skip to content

Commit

Permalink
chore: remove bullet point in failure and smart analysis
Browse files Browse the repository at this point in the history
  • Loading branch information
ASaiAnudeep committed Oct 19, 2024
1 parent 1464b1c commit e7e7b35
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/extensions/failure-analysis.extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class FailureAnalysisExtension extends BaseExtension {
failure_analysis.push(`🪄 Auto Analysed: ${execution_metrics.auto_analysed}`);
}

this.text = failure_analysis.join('    ');
this.text = failure_analysis.join('    ');
}

}
Expand Down
4 changes: 2 additions & 2 deletions src/extensions/smart-analysis.extension.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,13 @@ class SmartAnalysisExtension extends BaseExtension {
for (const item of smart_analysis) {
rows.push(item);
if (rows.length === 3) {
texts.push(rows.join('    '));
texts.push(rows.join('    '));
rows.length = 0;
}
}

if (rows.length > 0) {
texts.push(rows.join('    '));
texts.push(rows.join('    '));
}

this.text = this.mergeTexts(texts);
Expand Down
6 changes: 3 additions & 3 deletions test/mocks/teams.mock.js
Original file line number Diff line number Diff line change
Expand Up @@ -1644,7 +1644,7 @@ addInteractionHandler('post test-summary with beats to teams with ai failure sum
},
{
"type": "TextBlock",
"text": "⭕ Newly Failed: 1    🔴 Always Failing: 1    🟡 Flaky: 1\n\n🟢 Recovered: 1",
"text": "⭕ Newly Failed: 1    🔴 Always Failing: 1    🟡 Flaky: 1\n\n🟢 Recovered: 1",
"wrap": true,
"separator": true,
}
Expand Down Expand Up @@ -1688,13 +1688,13 @@ addInteractionHandler('post test-summary with beats to teams with ai failure sum
},
{
"type": "TextBlock",
"text": "🔎 To Investigate: 1    🪄 Auto Analysed: 1",
"text": "🔎 To Investigate: 1    🪄 Auto Analysed: 1",
"wrap": true,
"separator": true,
},
{
"type": "TextBlock",
"text": "⭕ Newly Failed: 1    🔴 Always Failing: 1    🟡 Flaky: 1\n\n🟢 Recovered: 1",
"text": "⭕ Newly Failed: 1    🔴 Always Failing: 1    🟡 Flaky: 1\n\n🟢 Recovered: 1",
"wrap": true,
"separator": true,
}
Expand Down

0 comments on commit e7e7b35

Please sign in to comment.