Place KeyMind commands above preset URL builder

This commit is contained in:
mikecarper committed 2026-09-22 23:08:18 -07:00
1 parent cacf3e9b37
commit 4eb16deef4
2 files changed
+125 -127

No files matched your search

+1 -2
View File
@@ -26,9 +26,8 @@ assert(pageSource.indexOf('data-command="stock-now"') <
pageSource.indexOf('data-role="countdown"'));
assert(pageSource.indexOf('data-command="stock-now"') <
pageSource.indexOf('data-role="url-builder-disclosure"'));
assert(pageSource.indexOf('data-role="url-builder-disclosure"') <
pageSource.indexOf('data-role="test-content-footer"'));
assert(pageSource.indexOf('data-role="test-content-footer"') < keymindStart);
assert(keymindStart < pageSource.indexOf('data-role="url-builder-disclosure"'));
assert.strictEqual((pageSource.match(/data-command="stock-now"/g) || []).length, 1);
assert.strictEqual((pageSource.match(/data-command="stock-cancel-during"/g) || []).length, 1);
assert.doesNotMatch(keymindContent, /data-command="stock-now"/);