Skip to content

Commit f71aa8c

Browse files
feat: use constant
1 parent 5c84d25 commit f71aa8c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

e2e/passkey.spec.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
import {testWithII} from '../src';
2+
import {DOCKER_CONTAINER} from './spec.constants';
23

34
testWithII.beforeEach(async ({iiPage}) => {
4-
const DOCKER_CONTAINER_URL = 'http://127.0.0.1:5987';
5-
const DOCKER_INTERNET_IDENTITY_ID = 'rdmx6-jaaaa-aaaaa-aaadq-cai';
6-
7-
await iiPage.waitReady({url: DOCKER_CONTAINER_URL, canisterId: DOCKER_INTERNET_IDENTITY_ID});
5+
await iiPage.waitReady(DOCKER_CONTAINER);
86
});
97

108
testWithII('should sign-in with a new user when II requires a passkey', async ({page, iiPage}) => {

0 commit comments

Comments
 (0)