Everything written this session that has not been through the device: rounds 43 to 48 (each patch adversarially verified, 43's transient-notice expectation fixed), a partial round 49, the pipeline scripts, the Android Auto design and the icon comparison mock. Also the two harness changes that were never A/B'd — adaptive waits, which may only shorten a declared wait and never lengthen it, and a ship that runs the mock walk and the deploy at the same time. The A/B and its 255-step baseline are in handoff/tools; main stays at what the phone has actually walked.
18 lines
1.6 KiB
Plaintext
18 lines
1.6 KiB
Plaintext
/* the pasted-links door on the real core: one track link, and the wait
|
|
line says which door read the paste; the review is left as it came */
|
|
{ do: `__click('.newpl', 'Import')`, wait: 700 },
|
|
{ do: `__click('.halfsheet .row', 'Paste a tracklist')`, wait: 700 },
|
|
{ do: `(function () { var i = document.querySelector('.halfsheet .prompt .field'); i.value = 'https://open.spotify.com/track/0DiWJLRWCDgbxTYvvVjHOP'; i.dispatchEvent(new Event('input', { bubbles: true })); })()`, wait: 300 },
|
|
{ do: `__click('.halfsheet .prompt-acts .btn-fill', 'Import')`, name: "import-links-wait", wait: 700 },
|
|
{ name: "import-links-review", wait: 9000 },
|
|
{ do: `__click('.imp-foot .btn-ghost', null)`, wait: 900 },
|
|
/* the folder door on the real core, one record's own folder — the
|
|
argument the command grew, walked for real; nothing is created */
|
|
{ do: `(async function () { var a = __ss.lib.albums[0]; var ts = await __ss.api.albumTracks(a.id); var f = ts[0].path; var cut = Math.max(f.lastIndexOf('/'), f.lastIndexOf(String.fromCharCode(92))); __ss.push('import', {}); __ss.imp.startFolder(f.slice(0, cut)); return f.slice(0, cut); })()`, name: "import-folder-real", wait: 7000 },
|
|
{ do: `__click('.imp-foot .btn-ghost', null)`, wait: 900 },
|
|
/* the picker itself is a system sheet the walk cannot tap: open it,
|
|
dismiss it with BACK, and check the cancel path leaves nothing */
|
|
{ do: `__click('.newpl', 'Import')`, wait: 700 },
|
|
{ do: `__click('.halfsheet .row', 'Folder of audio files')`, name: "import-folder-picker", wait: 2600 },
|
|
{ adb: ["shell", "input", "keyevent", "4"], name: "import-folder-cancelled", wait: 2000 },
|