red-horse-88299
05/23/2023, 7:47 PMbefore(() => {
Cypress.automation("remote:debugger:protocol", {
command: "WebAuthn.enable",
params: {
enableUI: true,
},
}).then(() => {
return Cypress.automation("remote:debugger:protocol", {
command: "WebAuthn.addVirtualAuthenticator",
params: {
options: {
protocol: "ctap2",
transport: "internal",
hasResidentKey: true,
hasUserVerification: false,
isUserVerified: true,
},
},
}).then((result) => {
_AUTHENTICATOR_ID = result.authenticatorId;
});
});
cy.clearCookies();
cy.visit(
"/assets/polygon/0xE95C167E3147F2F935E6B90F16694BC9ED4399E4"
);
});
I'm able to successfully get a passkey modal to appear, but I do not know how to tap the button in the modal using Cypress. I've attached a screenshot.
I appreciate any insight you may be able to provide.
Thank you!
-Brandon
https://cdn.discordapp.com/attachments/1110655231638917272/1110655231785713714/WebAuthn_Prompt.png▾
echoing-tent-95037
05/23/2023, 11:25 PMred-horse-88299
05/23/2023, 11:54 PMechoing-tent-95037
05/25/2023, 7:16 PMred-horse-88299
05/26/2023, 1:16 AMred-horse-88299
05/26/2023, 1:18 AMechoing-tent-95037
05/26/2023, 3:04 PM