Skip to content

Commit

Permalink
Update Account creation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bc-azvierieva committed Oct 21, 2024
1 parent 35ecde2 commit bb1bf14
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions core/tests/ui/e2e/register.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -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();

Expand Down

0 comments on commit bb1bf14

Please sign in to comment.