(baseline="baseline.png", diff="baseline_diff.png")
| 46 | |
| 47 | |
| 48 | def get_sbs_table_html(baseline="baseline.png", diff="baseline_diff.png"): |
| 49 | table_html = ( |
| 50 | '<table border="3px solid #E6E6E6;" width="100%;" padding: 12px;' |
| 51 | ' font-size="16px;" text-align="left;" id="results-table"' |
| 52 | ' style="background-color: #FAFAFA;">' |
| 53 | '<thead id="results-table-head">' |
| 54 | "<tr>" |
| 55 | '<th style="background-color: rgba(0, 128, 0, 0.25);"' |
| 56 | ' col="baseline">Baseline Screenshot</th>' |
| 57 | '<th style="background-color: rgba(128, 0, 0, 0.25);"' |
| 58 | ' col="failure">Visual Diff Failure Screenshot</th>' |
| 59 | "</tr></thead>" |
| 60 | ) |
| 61 | row = get_sbs_table_row(baseline, diff) |
| 62 | table_html += row |
| 63 | table_html += "</table>" |
| 64 | return table_html |
| 65 | |
| 66 | |
| 67 | def get_sbs_gen_by(): |
no test coverage detected
searching dependent graphs…