Skip to content

Commit

Permalink
Merge branch 'main' into rm-pwa
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianaixba committed Apr 2, 2024
2 parents 68e9879 + 7801bc4 commit 7e05549
Show file tree
Hide file tree
Showing 82 changed files with 379 additions and 3,902 deletions.
5 changes: 0 additions & 5 deletions cli/test/fixtures/a11y/a11y_tester.html
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,6 @@
<dd></dd>
</div>
</section>
<p>duplicate-id-active</p>
<section>
<textarea id="duplicate-id-active" aria-label="text1"></textarea>
<textarea id="duplicate-id-active" aria-label="text2"></textarea>
</section>
<p>duplicate-id-aria</p>
<section>
<div id="duplicate-id-aria" class="duplicate-id-aria"></span>
Expand Down
10 changes: 0 additions & 10 deletions cli/test/fixtures/dobetterweb/dbw_tester.html
Original file line number Diff line number Diff line change
Expand Up @@ -242,16 +242,6 @@ <h2 id="toppy" style="background-image:url('');">Do better web tester page</h2>
<!-- FAIL(efficient-animated-content): animated gif found -->
<img src="lighthouse-rotating.gif" width="811" height="462">

<!-- FAIL(tap-targets): buttons too close together -->
<style>
.small-button {
display: block;
width: 200px;
}
</style>
<button class="small-button">Do something</button>
<button class="small-button">Do something else</button>

<!-- Some websites overwrite the original Error object. The captureJSCallUsage function
relies on the native Error object and prepareStackTrace from V8. When overwriting the stack
property the e.stack inside the gatherer won't be in the correct format
Expand Down
207 changes: 0 additions & 207 deletions cli/test/fixtures/seo/seo-tap-targets.html

This file was deleted.

6 changes: 6 additions & 0 deletions cli/test/fixtures/static-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@ class Server {
'Origin-Agent-Cluster': '?1',
};

// This enables an important test in Smokerider - to check if the universal fetcher
// used for robots.txt (and source maps) is able to fetch freely while ignoring CORS constraints.
if (filePath === '/robots.txt') {
delete headers['Access-Control-Allow-Origin'];
}

const contentType = mime.lookup(filePath);
const charset = mime.lookup(contentType);
// `mime.contentType` appends the correct charset too.
Expand Down
2 changes: 0 additions & 2 deletions cli/test/smokehouse/core-tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ import screenshot from './test-definitions/screenshot.js';
import seoFailing from './test-definitions/seo-failing.js';
import seoPassing from './test-definitions/seo-passing.js';
import seoStatus403 from './test-definitions/seo-status-403.js';
import seoTapTargets from './test-definitions/seo-tap-targets.js';
import serviceWorkerReloaded from './test-definitions/service-worker-reloaded.js';
import shiftAttribution from './test-definitions/shift-attribution.js';
import sourceMaps from './test-definitions/source-maps.js';
Expand Down Expand Up @@ -116,7 +115,6 @@ const smokeTests = [
seoFailing,
seoPassing,
seoStatus403,
seoTapTargets,
serviceWorkerReloaded,
shiftAttribution,
sourceMaps,
Expand Down
Loading

0 comments on commit 7e05549

Please sign in to comment.