From c45c38c7f8fd522bea2760e8c53b8556d3849716 Mon Sep 17 00:00:00 2001 From: Dawid Urbas Date: Wed, 26 Jun 2024 14:56:35 +0200 Subject: [PATCH] Fix test --- tests/index.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/index.test.ts b/tests/index.test.ts index 4c6dc5d..ab18847 100644 --- a/tests/index.test.ts +++ b/tests/index.test.ts @@ -78,6 +78,8 @@ describe('Extension E2E Tests', () => { await Promise.all([setupPage.waitForNavigation(), setPasswordButton.click()]); - expect(newPasswordInput).toBeDefined(); + const enterPassphrasePageContent = await setupPage.content(); + + expect(enterPassphrasePageContent).toContain('Enter Passphrase'); }, 10000); });