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:
@@ -239,7 +239,7 @@ try {
|
||||
const captures = [];
|
||||
|
||||
// Material phone: invalid -> valid -> refusal -> exact record.
|
||||
await load('host=material&scale=1', 390, 844);
|
||||
await load('scale=1', 390, 844);
|
||||
await assertText('Future runs only; does not publish or change the workflow.');
|
||||
await assertText('Weekdays (none means every day)');
|
||||
await assertText('Enabled schedules start future runs automatically');
|
||||
@@ -330,7 +330,7 @@ try {
|
||||
});
|
||||
|
||||
// Narrow phone at 2x text: labels and helpers wrap, nothing overflows.
|
||||
await load('host=material&scale=2', 320, 844);
|
||||
await load('scale=2', 320, 844);
|
||||
await click('Save schedule');
|
||||
await delay(600);
|
||||
await capture('s1-form-material-320-2x-top');
|
||||
@@ -340,14 +340,14 @@ try {
|
||||
await assertText('Save schedule');
|
||||
checks.push({ check: '320px at 2x text kept every label and the actions', width: 320, scale: 2 });
|
||||
|
||||
// Actual Cupertino dark host, not a Material fallback.
|
||||
await load('host=cupertino&brightness=dark&scale=1', 390, 844);
|
||||
// Actual Material dark host, not a Material fallback.
|
||||
await load('brightness=dark&scale=1', 390, 844);
|
||||
await assertText('Add schedule');
|
||||
await capture('s1-form-cupertino-dark-390-top');
|
||||
await capture('s1-form-material-dark-390-top');
|
||||
for (let i = 0; i < 3; i++) await wheel(600);
|
||||
await capture('s1-form-cupertino-dark-390-bottom');
|
||||
await capture('s1-form-material-dark-390-bottom');
|
||||
await assertText('Notifications');
|
||||
checks.push({ check: 'Cupertino dark rendered the native form', host: 'cupertino', brightness: 'dark' });
|
||||
checks.push({ check: 'Material dark rendered the native form', host: 'material', brightness: 'dark' });
|
||||
|
||||
if (pageErrors.length) throw new Error(`Page exceptions: ${JSON.stringify(pageErrors)}`);
|
||||
const manifest = {
|
||||
|
||||
Reference in New Issue
Block a user