Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update sharing e2e test to assert name (#2468)

Leendert de Borstcc47a2d9f6f1
diff --git a/apps/web/tests/e2e/70-sharing.spec.ts b/apps/web/tests/e2e/70-sharing.spec.ts
index bb9a050bb..bfb0ef061 100644
--- a/apps/web/tests/e2e/70-sharing.spec.ts
+++ b/apps/web/tests/e2e/70-sharing.spec.ts
@@ -42,6 +42,7 @@ test.describe('70. Sharing', () => {
await test.step('the member accepts the invitation', async () => {
await member.openFamilySharing();
+ await expect(member.page.getByText(vaultName, { exact: true })).toBeVisible();
await member.page.getByRole('button', { name: 'Accept' }).click();
await expect(member.page.getByRole('link', { name: vaultName })).toBeVisible();
await member.pause();