tests) fixing tests
All checks were successful
PR Checks / lint-test-and-docker-build (pull_request) Successful in 2m15s

This commit is contained in:
2026-02-22 18:58:46 -05:00
parent 25d9d28a35
commit 44b2dee7e4
4 changed files with 51 additions and 24 deletions

View File

@@ -39,7 +39,7 @@ test('transportation lifecycle updates the trip view', async ({ page }) => {
await page.getByRole('button', { name: 'Edit transportation' }).click();
const editDialog = page.getByRole('dialog', { name: 'Edit transportation' });
await expect(editDialog).toBeVisible();
await editDialog.getByLabel('Flight number').fill('1002');
await editDialog.locator('input[name="segments[0][flight_number]"]').fill('1002');
await editDialog.getByRole('button', { name: 'Save changes' }).click();
await expect(editDialog).toBeHidden();