From bb1bf147f431c03963bc6d79a7210f45029db3aa Mon Sep 17 00:00:00 2001 From: "anastasiia.zvierieva" Date: Mon, 21 Oct 2024 17:51:33 +0200 Subject: [PATCH] Update Account creation tests --- core/tests/ui/e2e/register.spec.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/core/tests/ui/e2e/register.spec.ts b/core/tests/ui/e2e/register.spec.ts index bf87163f24..8c77400578 100644 --- a/core/tests/ui/e2e/register.spec.ts +++ b/core/tests/ui/e2e/register.spec.ts @@ -15,10 +15,6 @@ test('Account register', async ({ page }) => { await page.getByLabel('Confirm PasswordRequired').fill(password); await page.getByLabel('First NameRequired').fill(faker.person.firstName()); await page.getByLabel('Last NameRequired').fill(faker.person.lastName()); - await page.getByLabel('Phone Number').fill(faker.phone.number()); - await page.getByLabel('Address Line 1Required').fill(faker.location.streetAddress()); - await page.getByLabel('Suburb/CityRequired').fill(faker.location.city()); - await page.getByLabel('Zip/PostcodeRequired').fill(faker.location.zipCode()); await page.getByRole('button', { name: 'Create account' }).click(); @@ -36,9 +32,6 @@ test('Account is not created if email is already in use', async ({ page, account await page.getByLabel('Confirm PasswordRequired').fill(customer.password); await page.getByLabel('First NameRequired').fill(customer.firstName); await page.getByLabel('Last NameRequired').fill(customer.lastName); - await page.getByLabel('Address Line 1Required').fill(faker.location.streetAddress()); - await page.getByLabel('Suburb/CityRequired').fill(faker.location.city()); - await page.getByLabel('Zip/PostcodeRequired').fill(faker.location.zipCode()); await page.getByRole('button', { name: 'Create account' }).click();