tests) fixing tests
All checks were successful
PR Checks / lint-test-and-docker-build (pull_request) Successful in 2m15s
All checks were successful
PR Checks / lint-test-and-docker-build (pull_request) Successful in 2m15s
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user