The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Fill the single full name input in the create record e2e test (#28928)
Charles Bochet935085b61848
diff --git a/packages/twenty-e2e-testing/tests/create-record.spec.ts b/packages/twenty-e2e-testing/tests/create-record.spec.tsindex 2882f326249..d7b7c921ff4 100644--- a/packages/twenty-e2e-testing/tests/create-record.spec.ts+++ b/packages/twenty-e2e-testing/tests/create-record.spec.ts@@ -71,22 +71,14 @@ test('Create and update record', async ({ page }) => {const randomEmail = `testuser_${Math.random().toString(36).substring(2, 10)}@example.com`;- const firstNameInput = page.getByRole('textbox', {- name: 'First Name',+ const nameInput = page.getByRole('textbox', {+ name: 'Name',exact: true,});- await expect(firstNameInput).toBeVisible();- await firstNameInput.click();- await expect(firstNameInput).toBeFocused();- await page.keyboard.type('John');-- const lastNameInput = page.getByRole('textbox', {- name: 'Last Name',- exact: true,- });- await lastNameInput.click();- await expect(lastNameInput).toBeFocused();- await page.keyboard.type('Doe');+ await expect(nameInput).toBeVisible();+ await nameInput.click();+ await expect(nameInput).toBeFocused();+ await page.keyboard.type('John Doe');const emailInput = page.getByRole('textbox', {name: 'Emails',