You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/diff.ts
+10-4Lines changed: 10 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -224,7 +224,7 @@ for (const test of allTestNames) {
224
224
letsummary: string|null=null;
225
225
226
226
if(!after){
227
-
summary='(Removed)';
227
+
summary='(removed)';
228
228
}else{
229
229
constdiffLines: string[]=[];
230
230
for(constbrowserofallBrowsers){
@@ -284,9 +284,12 @@ ${testSummary.join('\n')}
284
284
285
285
if(summaryLines.length>0){
286
286
constcommentLines: string[]=[];
287
-
commentLines.push(
288
-
'The [Web Platform Test](https://web-platform-tests.org/) results have changed from the expected baseline. The baseline may be updated by merging this pull request.'
289
-
);
287
+
288
+
if(process.env.SCHEDULED_BASELINE_DIFF){
289
+
commentLines.push(
290
+
'The [Web Platform Test](https://web-platform-tests.org/) results have changed from the expected baseline. You may accept these changes by merging this pull request.'
291
+
);
292
+
}
290
293
291
294
if(missingBrowsers.size>0){
292
295
commentLines.push(
@@ -305,9 +308,12 @@ if (summaryLines.length > 0) {
305
308
}
306
309
307
310
commentLines.push('','# Test Results', ...summaryLines);
0 commit comments