Remove alternate hosts from tooling probes
Keep the probe suite on the Material composition so browser fixtures and capture drivers no longer render or select Cupertino hosts. Record the final residual legacy arguments and implementation checks for the delivery gate.
This commit is contained in:
@@ -19,8 +19,9 @@ try {
|
||||
c = await connect((await waitForPage(await waitForPort(join(profile, 'DevToolsActivePort')))).webSocketDebuggerUrl);
|
||||
await c.send('Page.enable');
|
||||
await c.send('Emulation.setDeviceMetricsOverride', { width: 390, height: 844, deviceScaleFactor: 1, mobile: true });
|
||||
for (const host of ['material', 'cupertino']) {
|
||||
await c.send('Page.navigate', { url: `${fixture.url}?host=${host}` });
|
||||
{
|
||||
const host = 'material';
|
||||
await c.send('Page.navigate', { url: fixture.url });
|
||||
assert.ok(await waitFor(() => c.evaluate("Boolean(document.querySelector('flt-semantics-placeholder'))"), 12000));
|
||||
await enableSemantics(c);
|
||||
await click(c, 'Add server');
|
||||
|
||||
Reference in New Issue
Block a user