Skip to content

Commit 13dd889

Browse files
szuendDevtools-frontend LUCI CQ
authored andcommitted
[testing] Revert variations command dumping
This CL reverts dumping the chrome://version?show-variations-cmd to a txt file on bots. "Chrome for testing" binaries ship with a fixed variations command already, so there is no need for us to dump it. R=kimanh@chromium.org Bug: None Change-Id: Ic84240032a5165e9076f4e926fb1b078f017e299 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/7672617 Auto-Submit: Simon Zünd <szuend@chromium.org> Commit-Queue: Simon Zünd <szuend@chromium.org> Commit-Queue: Kim-Anh Tran <kimanh@chromium.org> Reviewed-by: Kim-Anh Tran <kimanh@chromium.org>
1 parent 2d647ee commit 13dd889

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

test/unit/karma.conf.ts

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -60,22 +60,6 @@ const CustomChrome = function(this: any, _baseBrowserDecorator: unknown, args: B
6060
this._onProcessExit(code, signal, '');
6161
});
6262

63-
await (async function dumpCommandLineVariationsToFile() {
64-
const versionPage = await browser.newPage();
65-
await versionPage.goto('chrome://version/?show-variations-cmd');
66-
const commandLineText =
67-
await versionPage.waitForSelector('#variations-cmd').then(handle => handle?.evaluate(el => el.textContent));
68-
await versionPage.close();
69-
70-
if (commandLineText) {
71-
fs.writeFileSync(
72-
path.join(TestConfig.artifactsDir, 'variations-cmd.txt'),
73-
commandLineText,
74-
{encoding: 'utf-8'},
75-
);
76-
}
77-
})();
78-
7963
const page = await browser.newPage();
8064

8165
async function setupBindings(page: Page) {

0 commit comments

Comments
 (0)