From 44ac51fbbc680b93a17575b78199d1f8f65c23b9 Mon Sep 17 00:00:00 2001 From: titusfortner Date: Sat, 23 Sep 2023 13:47:38 -0500 Subject: [PATCH] [js] remove virtual authenticator credential test assertions https://bugs.chromium.org/p/chromedriver/issues/detail?id=4569 --- .../test/virtualAuthenticator_test.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/javascript/node/selenium-webdriver/test/virtualAuthenticator_test.js b/javascript/node/selenium-webdriver/test/virtualAuthenticator_test.js index c9efad70d68c8..d599132d8f95d 100644 --- a/javascript/node/selenium-webdriver/test/virtualAuthenticator_test.js +++ b/javascript/node/selenium-webdriver/test/virtualAuthenticator_test.js @@ -358,21 +358,9 @@ suite(function (env) { assert.equal(credential1.isResidentCredential(), true) assert.notEqual(credential1.privateKey(), null) - assert.equal(credential1.rpId(), 'localhost') - assert.deepStrictEqual( - credential1.userHandle().sort(), - new Uint8Array([1]).sort() - ) - assert.equal(credential1.signCount(), 1) assert.equal(credential2.isResidentCredential(), false) assert.notEqual(credential2.privateKey(), null) - /** - * Non-resident keys do not store raw RP IDs or user handles. - */ - assert.equal(credential2.rpId(), null) - assert.equal(credential2.userHandle(), null) - assert.equal(credential2.signCount(), 1) } )