diff --git a/lighthouse-cli/test/fixtures/robots.txt b/lighthouse-cli/test/fixtures/robots.txt new file mode 100644 index 000000000000..9e60f970fbd0 --- /dev/null +++ b/lighthouse-cli/test/fixtures/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: diff --git a/lighthouse-cli/test/smokehouse/test-definitions/csp/csp-expectations.js b/lighthouse-cli/test/smokehouse/test-definitions/csp/csp-expectations.js index b96e3ffb53b4..912f47b49541 100644 --- a/lighthouse-cli/test/smokehouse/test-definitions/csp/csp-expectations.js +++ b/lighthouse-cli/test/smokehouse/test-definitions/csp/csp-expectations.js @@ -24,13 +24,12 @@ const blockAllExceptInlineScriptCsp = headersParam([[ /** * @type {Smokehouse.ExpectedRunnerResult} - * Expectations of CSP results with a defalt Lighthouse run. + * Expectations of CSP results with a default Lighthouse run. */ const allowAll = { artifacts: { RobotsTxt: { - status: 404, - content: null, + status: 200, }, InspectorIssues: {contentSecurityPolicy: []}, SourceMaps: [{ @@ -94,12 +93,10 @@ const blockAll = { artifacts: { _minChromiumMilestone: 92, RobotsTxt: { - status: 404, - content: null, + status: 200, }, InspectorIssues: { - contentSecurityPolicy: [ - ], + contentSecurityPolicy: [], }, SourceMaps: [{ sourceMapUrl: 'http://localhost:10200/source-map/script.js.map', diff --git a/lighthouse-cli/test/smokehouse/test-definitions/seo/expectations.js b/lighthouse-cli/test/smokehouse/test-definitions/seo/expectations.js index 97ccf0a90ca2..d4bec07c7f24 100644 --- a/lighthouse-cli/test/smokehouse/test-definitions/seo/expectations.js +++ b/lighthouse-cli/test/smokehouse/test-definitions/seo/expectations.js @@ -253,8 +253,7 @@ const passing = { score: 1, }, 'robots-txt': { - score: null, - scoreDisplayMode: 'notApplicable', + score: 1, }, }, },