Fix Linux route probe contract and expose K1 verification after Wi-Fi apply
This commit is contained in:
@@ -88,6 +88,17 @@ test('Bluetooth failure before dispatch asks for discovery without blaming Wi-Fi
|
||||
assert.equal(api.enrollmentBluetoothFailure(unknown),false);
|
||||
assert.doesNotMatch(api.enrollmentNotice(unknown),/не были отправлены/);
|
||||
});
|
||||
test('applied and restored network states admit read-only verification without credentials',async()=>{
|
||||
const f=fixture();
|
||||
const applied={...initial,allowed_actions:['observe-configured-device-network'],connection_attempt:{schema_version:'missioncore.xgrids-k1-connection-attempt/v1',attempt_id:'previous',status:'failed',stage:'control-bootstrap-failed',phase:'network_applied',side_effect_status:'applied',public_error_code:'TypeError'}};
|
||||
assert.equal(api.enrollmentAllowed(applied,'verify'),true);
|
||||
assert.match(api.enrollmentNotice(applied),/Проверить состояние K1/);
|
||||
assert.equal(api.enrollmentAllowed({...applied,connection_attempt:null},'verify'),true);
|
||||
await api.enroll(f.transport,applied,'verify',{device_id:'synthetic-ble'},f.observer);
|
||||
assert.equal(f.request().action,'verify');
|
||||
assert.deepEqual(f.request().parameters,{device_id:'synthetic-ble'});
|
||||
assert.equal(f.counts().posts,1);
|
||||
});
|
||||
test('new workflow content scrolls only the containing viewport without stealing focus',()=>{
|
||||
const original={document:globalThis.document,window:globalThis.window,getComputedStyle:globalThis.getComputedStyle};
|
||||
const calls=[];let reduced=false;
|
||||
|
||||
@@ -11,7 +11,7 @@ import sys
|
||||
from build_deb import build, VERSION, BRAND_SHA256
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
DG_COMMIT = "1bdfc6c24072d38cc1068086ea271c444f2524ad"
|
||||
DG_COMMIT = "5b882bc3d9b13a86e6c26111ef5ded687ea3a2fc"
|
||||
|
||||
|
||||
def guideline_sources():
|
||||
|
||||
@@ -11,7 +11,7 @@ import sys
|
||||
|
||||
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
VERSION = "0.8.4"
|
||||
VERSION = "0.8.5"
|
||||
sys.path.insert(0, str(ROOT.parents[1] / "scripts/packaging"))
|
||||
from debian import package
|
||||
|
||||
|
||||
Reference in New Issue
Block a user