0.2.6-dev: a dropped connection to the web-font host (fonts.googleapis.com / fonts.gstatic.com — the page falls back to the local and system fonts) no longer fails real.e2e, mock.e2e or leftovers.e2e, as loadout / match-info / i18n already allowed; golden: unchanged
This commit is contained in:
1 parent
9a0af9e891
commit
b5d0c3f96f
3 files changed
+3
-3
No files matched your search
@@ -49,7 +49,7 @@ class Client {
|
||||
await page.setViewport({ width: this.w, height: this.h });
|
||||
page.on('console', (m) => { if (m.type() === 'error') this.problems.push(`console: ${m.text()}`); });
|
||||
page.on('pageerror', (e) => this.problems.push(`pageerror: ${e.message}`));
|
||||
page.on('requestfailed', (r) => this.problems.push(`requestfailed: ${r.url()} ${r.failure()?.errorText}`));
|
||||
page.on('requestfailed', (r) => { if (!/fonts\.(googleapis|gstatic)/.test(r.url())) this.problems.push(`requestfailed: ${r.url()} ${r.failure()?.errorText}`); });
|
||||
page.on('response', (r) => {
|
||||
if (r.status() >= 400) this.problems.push(`http ${r.status()}: ${r.url()}`);
|
||||
// the served manifest's content-hashed URLs (docs/ASSETS.md): Spine files, audio through /media/~<hash>/, the rest
|
||||
|
||||
Reference in new issue
Block a user