If you’re using this plugin, we’ve just released a new version v2.0.0
that supports the latest changes in Internet Identity flows.
https://github.com/dfinity/internet-identity-playwright/releases/tag/v2.0.0
If you’ve updated the plugin but are still working with an older version of II, there’s a new parameter that allows you to handle flows requiring an explicit passkey creation step:
testWithII('should sign in with a new user when II requires a passkey', async ({page, iiPage}) => {
await page.goto('/');
await iiPage.signInWithNewIdentity({createPasskey: true});
});
And for the curious: yes, that’s (partially) why I updated and released the Juno Docker solution today. We use it as testing infrastructure for this library .