Skip to content

Commit e28d668

Browse files
test(e2e): update internet-identity playwright plugin for new ui/ux (#2562)
* test(e2e): update internet-identity playwright plugin for new ui/ux * test: update for new signIn api
1 parent 37c2835 commit e28d668

4 files changed

Lines changed: 11 additions & 10 deletions

File tree

package-lock.json

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
},
7676
"devDependencies": {
7777
"@dfinity/eslint-config-oisy-wallet": "^0.2.3",
78-
"@dfinity/internet-identity-playwright": "^2.0.0",
78+
"@dfinity/internet-identity-playwright": "^3.0.0-next-2026-01-31",
7979
"@dfinity/pic": "^0.17.2",
8080
"@dfinity/response-verification": "^3.0.3",
8181
"@icp-sdk/bindgen": "^0.2.1",

src/e2e/page-objects/console.page.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,10 @@ export class ConsolePage extends IdentityPage {
2424
}
2525

2626
async signInWithII(): Promise<void> {
27-
this.iiAnchor = await this.#consoleIIPage.signInWithNewIdentity({
28-
selector: `[data-tid=${testIds.auth.signInII}]`
27+
await this.#consoleIIPage.signIn({
28+
passkey: {
29+
selector: `[data-tid=${testIds.auth.signInII}]`
30+
}
2931
});
3032
}
3133

src/e2e/page-objects/identity.page.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ export interface IdentityPageParams {
77
}
88

99
export abstract class IdentityPage {
10-
protected iiAnchor: number | undefined;
11-
1210
protected readonly page: Page;
1311
protected readonly context: BrowserContext;
1412
protected readonly browser: Browser;

0 commit comments

Comments
 (0)