File tree Expand file tree Collapse file tree 4 files changed +8
-0
lines changed
Expand file tree Collapse file tree 4 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,7 @@ export class Allure2Plugin implements Plugin {
116116 status : worstStatus ?? "passed" ,
117117 duration,
118118 createdAt,
119+ withTestResultsLinks : true ,
119120 plugin : "Allure2" ,
120121 newTests : newTrs . map ( convertToSummaryTestResult ) ,
121122 flakyTests : flakyTrs . map ( convertToSummaryTestResult ) ,
Original file line number Diff line number Diff line change @@ -55,6 +55,11 @@ export interface PluginSummary {
5555 status : TestStatus ;
5656 duration : number ;
5757 plugin ?: string ;
58+ /**
59+ * Marks the summary as containing remote test results links (e.g. to new, flaky and retry tests)
60+ * Enable for plugins that support direct test results opening (like awesome or classic)
61+ */
62+ withTestResultsLinks ?: boolean ;
5863 newTests ?: SummaryTestResult [ ] ;
5964 flakyTests ?: SummaryTestResult [ ] ;
6065 retryTests ?: SummaryTestResult [ ] ;
Original file line number Diff line number Diff line change @@ -164,6 +164,7 @@ export class AwesomePlugin implements Plugin {
164164 status : worstStatus ?? "passed" ,
165165 duration,
166166 createdAt,
167+ withTestResultsLinks : true ,
167168 plugin : "Awesome" ,
168169 newTests : newTrs . map ( convertToSummaryTestResult ) ,
169170 flakyTests : flakyTrs . map ( convertToSummaryTestResult ) ,
Original file line number Diff line number Diff line change @@ -123,6 +123,7 @@ export class ClassicPlugin implements Plugin {
123123 status : worstStatus ?? "passed" ,
124124 createdAt,
125125 duration,
126+ withTestResultsLinks : true ,
126127 plugin : "Classic" ,
127128 newTests : newTrs . map ( convertToSummaryTestResult ) ,
128129 flakyTests : flakyTrs . map ( convertToSummaryTestResult ) ,
You can’t perform that action at this time.
0 commit comments