Skip to content

Commit 3db2294

Browse files
VmMadKeitoTadashimsarcev
authored
feat(dapp): improve connection to wallet in tests (#992)
* feat(dapp): improve connection to wallet in tests * fix: wallet text * feat: upgrade versions --------- Co-authored-by: Keito <64607484+KeitoTadashi@users.noreply.github.com> Co-authored-by: msarcev <mario.sarcevic@iota.org>
1 parent 99dee0d commit 3db2294

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dapp/tests/utils.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ export async function connectWallet(page: Page, context: BrowserContext, extensi
3838

3939
export async function createWallet(page: Page) {
4040
await page.bringToFront();
41-
await page.getByRole('button', { name: /Add Profile/ }).click({ timeout: 30000 });
42-
await page.getByText('Create New', { exact: true }).click();
41+
await page.getByRole('button', { name: /Get Started/ }).click({ timeout: 30_000 });
42+
await page.getByText('Create a new wallet').click();
43+
await page.getByText('Mnemonic', { exact: true }).click();
4344
await page.getByTestId('password.input').fill('iotae2etests');
4445
await page.getByTestId('password.confirmation').fill('iotae2etests');
4546
await page.getByText('I read and agree').click();

0 commit comments

Comments
 (0)