fix: validate tenant and lease contact details
This commit is contained in:
1 parent
8603b98714
commit
bf6d8e6bb6
27 files changed
+444
-54
No files matched your search
@@ -277,8 +277,11 @@ test('creates a tenant with an attachment and a lease with a guarantor', async (
|
||||
|
||||
await page.getByTestId('primary-navigation').getByRole('button', { name: 'Baux' }).click();
|
||||
await page.getByRole('button', { name: 'Créer un bail' }).first().click();
|
||||
await page.getByLabel('Appartement').selectOption('apartment-1');
|
||||
await page.getByLabel('Locataire').selectOption('tenant-1');
|
||||
await page.getByRole('combobox', { name: 'Appartement' }).click();
|
||||
await page.getByRole('option', { name: 'Studio République' }).click();
|
||||
await page.getByRole('combobox', { name: 'Locataires' }).click();
|
||||
await page.getByRole('option', { name: 'Camille Martin' }).click();
|
||||
await page.keyboard.press('Escape');
|
||||
await page.getByLabel('Date de début').fill('2026-09-01');
|
||||
await page.getByLabel('Date de fin').fill('2027-08-31');
|
||||
await page.getByLabel('Loyer mensuel').fill('850');
|
||||
|
||||
Reference in new issue
Block a user