chromedevtools--chrome-devtools-mcp
f028f8c075
We should make sure there is always an empty line after license notice, otherwise it gets dropped during build if it happens to be before import statement. --------- Co-authored-by: Piotr Paulski <piotrpaulski@chromium.org>
22 行
532 B
TypeScript
22 行
532 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2026 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
import assert from 'node:assert';
|
|
|
|
import type {TestScenario} from '../eval_gemini.ts';
|
|
|
|
export const scenario: TestScenario = {
|
|
prompt: 'Check the performance of https://developers.chrome.com',
|
|
maxTurns: 2,
|
|
expectations: calls => {
|
|
assert.strictEqual(calls.length, 2);
|
|
assert.ok(
|
|
calls[0].name === 'navigate_page' || calls[0].name === 'new_page',
|
|
);
|
|
assert.ok(calls[1].name === 'performance_start_trace');
|
|
},
|
|
};
|