Fix a flaky test by using a local web server

This commit is contained in:
Brian Quinlan
2022-03-15 15:25:47 -07:00
parent a12ea41aa6
commit 5973dbf35d
20 changed files with 94 additions and 26 deletions

View File

@@ -1 +1 @@
<svg height="20" width="136.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><title>Badge Title</title><linearGradient id="smooth" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="round"><rect fill="#fff" height="20" rx="3" width="136.0"/></clipPath><g clip-path="url(#round)"><rect fill="#97CA00" height="20" width="78.4"><title>Left Title</title></rect><rect fill="#fb3" height="20" width="57.6" x="78.4"><title>Right Title</title></rect><rect fill="url(#smooth)" height="20" width="136.0"/></g><g fill="#fff" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110" text-anchor="middle"><image height="14" width="14" x="5" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAAD0lEQVQI12P4zwAD/xkYAA/+Af8iHnLUAAAAAElFTkSuQmCC" y="3"/><text fill="#010101" fill-opacity=".3" lengthAdjust="spacing" textLength="514.0" transform="scale(0.1)" x="487.0" y="150">complete</text><text lengthAdjust="spacing" textLength="514.0" transform="scale(0.1)" x="487.0" y="140">complete</text><text fill="#010101" fill-opacity=".3" lengthAdjust="spacing" textLength="476.0" transform="scale(0.1)" x="1062.0" y="150">example</text><text lengthAdjust="spacing" textLength="476.0" transform="scale(0.1)" x="1062.0" y="140">example</text><a xlink:href="http://www.complete.com/"><rect fill="rgba(0,0,0,0)" height="20" width="78.4"/></a><a xlink:href="http://www.example.com"><rect fill="rgba(0,0,0,0)" height="20" width="57.6" x="78.4"/></a></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="136.0" height="20"><title>Badge Title</title><linearGradient id="smooth" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="round"><rect width="136.0" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#round)"><rect width="78.4" height="20" fill="#97CA00"><title>Left Title</title></rect><rect x="78.4" width="57.6" height="20" fill="#fb3"><title>Right Title</title></rect><rect width="136.0" height="20" fill="url(#smooth)"/></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="110"><image x="5" y="3" width="14" height="14" xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAIAAAACCAIAAAD91JpzAAAAD0lEQVQI12P4zwAD/xkYAA/+Af8iHnLUAAAAAElFTkSuQmCC"/><text x="487.0" y="150" fill="#010101" fill-opacity=".3" transform="scale(0.1)" textLength="514.0" lengthAdjust="spacing">complete</text><text x="487.0" y="140" transform="scale(0.1)" textLength="514.0" lengthAdjust="spacing">complete</text><text x="1062.0" y="150" fill="#010101" fill-opacity=".3" transform="scale(0.1)" textLength="476.0" lengthAdjust="spacing">example</text><text x="1062.0" y="140" transform="scale(0.1)" textLength="476.0" lengthAdjust="spacing">example</text><a xlink:href="http://www.complete.com/"><rect width="78.4" height="20" fill="rgba(0,0,0,0)"/></a><a xlink:href="http://www.example.com"><rect x="78.4" width="57.6" height="20" fill="rgba(0,0,0,0)"/></a></g></svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB