From e6583133ad4744b0daabf42c612c79f402a369b1 Mon Sep 17 00:00:00 2001 From: Tim van der Lippe Date: Thu, 8 Apr 2021 10:10:57 +0100 Subject: [PATCH] Fix interactions tests These tests were still importing the css files from their original location. The files were moved in https://crrev.com/c/2810839, but because of stale `autoninja` compilation outputs, that CL got submitted just fine. When new bots were provisioned, the files were missing and the tests started failing post-submit. Confirmed locally that removing the old compilation output fails the tests and this output makes them pass again. R=jacktfranklin@chromium.org Bug: 1187573 Change-Id: Ia564c76f53ff31d0669c88967ba916bf910e3538 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2813958 Commit-Queue: Tim van der Lippe Commit-Queue: Jack Franklin Auto-Submit: Tim van der Lippe Reviewed-by: Jack Franklin --- scripts/component_server/server.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/component_server/server.js b/scripts/component_server/server.js index a2c36a608e..5473434c4c 100644 --- a/scripts/component_server/server.js +++ b/scripts/component_server/server.js @@ -243,9 +243,9 @@ async function requestHandler(request, response) { componentDocsBaseArg && componentDocsBaseArg.endsWith(sharedResourcesBase) ? '/' : `/${sharedResourcesBase}`; const fileContents = await fs.promises.readFile(path.join(componentDocsBaseFolder, filePath), {encoding: 'utf8'}); const themeColoursLink = ``; + path.join(baseUrlForSharedResource, 'front_end', 'ui', 'legacy', 'themeColors.css')}" type="text/css" />`; const inspectorCommonLink = ``; + path.join(baseUrlForSharedResource, 'front_end', 'ui', 'legacy', 'inspectorCommon.css')}" type="text/css" />`; const toggleDarkModeScript = ``; const newFileContents = fileContents.replace('