mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
ci: view full visual-regression report in a new tab (#46444)
This commit is contained in:
parent
12db87449b
commit
7f6008f4e1
@ -140,14 +140,14 @@ function generateReport(
|
||||
|
||||
const htmlReportLink = `${publicPath}/visualRegressionReport/report.html`;
|
||||
|
||||
const addonFullReportDesc = `\n\nToo many visual-regression diffs found, please check [Full Report](${htmlReportLink}) for details`;
|
||||
const addonFullReportDesc = `\n\nToo many visual-regression diffs found, please check <a href="${htmlReportLink}" target="_blank">Full Report</a> for details`;
|
||||
|
||||
// github action pr comment has limit of 65536 4-byte unicode characters
|
||||
const limit = 65536 - addonFullReportDesc.length;
|
||||
|
||||
let reportMdStr = `
|
||||
${commonHeader}
|
||||
> [View Full Report](${htmlReportLink})\n
|
||||
> <a href="${htmlReportLink}" target="_blank">View Full Report</a> \n
|
||||
------------------------
|
||||
| image name | expected | actual | diff |
|
||||
| --- | --- | --- | --- |
|
||||
|
Loading…
Reference in New Issue
Block a user