diff --git a/core/tests/ui/e2e/account-settings.spec.ts b/core/tests/ui/e2e/account-settings.spec.ts index d7b8f1079..37fc5550b 100644 --- a/core/tests/ui/e2e/account-settings.spec.ts +++ b/core/tests/ui/e2e/account-settings.spec.ts @@ -8,16 +8,12 @@ test('Update Account information', async ({ page, account }) => { await page.goto('/account/settings'); await page.getByLabel('First NameRequired').fill('Updated'); await page.getByLabel('Last NameRequired').fill('Name'); - await page.getByLabel('Phone Number').fill('12345678'); - await page.getByLabel('Company').fill('Corporation'); await page.getByLabel('Email Address').fill('updated@email.com'); await page.getByRole('button', { name: 'Update settings' }).click(); - await expect( - page.getByText('Dear Updated Name, you successfully updated your account data'), - ).toBeVisible(); - await expect(page.getByLabel('Company')).toHaveValue('Corporation'); - await expect(page.getByLabel('Phone Number')).toHaveValue('12345678'); + await expect(page.getByText('Your account settings have been updated')).toBeVisible(); + await expect(page.getByLabel('First NameRequired')).toHaveValue('Updated'); + await expect(page.getByLabel('Last NameRequired')).toHaveValue('Name'); await expect(page.getByLabel('Email Address')).toHaveValue('updated@email.com'); });