import { customerEditGeneralTestData } from '@/manager/modules/customer/data/customer-edit-test-data';
import { test } from '@/manager/modules/customer/customer-fixtures';
import { expectCustomerGeneralInfoToBeEdited } from '@/manager/modules/customer/utils/customer-edit-expect-utils';

for (const data of customerEditGeneralTestData) {
  test(data.description, async ({ customerListPage }) => {
    await expectCustomerGeneralInfoToBeEdited(customerListPage, data.customer, data.changes);
  });
}
