Enhance favorite airlines management #150
Annotations
1 error and 1 notice
main-flow.test.ts:922:2 › Favorite Airlines Dialog › should add and remove airlines from favorites in dialog:
e2e/main-flow.test.ts#L887
1) main-flow.test.ts:922:2 › Favorite Airlines Dialog › should add and remove airlines from favorites in dialog
Error: Timed out 5000ms waiting for expect(locator).toHaveValue(expected)
Locator: getByTestId('favorite-airlines-search-popover').getByPlaceholder('Search airlines...')
Expected string: ""
Received string: "Finnair"
Call log:
- expect.toHaveValue with timeout 5000ms
- waiting for getByTestId('favorite-airlines-search-popover').getByPlaceholder('Search airlines...')
9 × locator resolved to <input placeholder="Search airlines..." class="flex rounded-md border-input px-3 ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium focus-visible:ring-ring md:text-sm h-9 w-full border-0 bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-0 focus-visible:ring-offset-0 disabled:cursor-not-allowed disabled:opacity-50"/>
- unexpected value "Finnair"
885 | const input = getPopover(page).getByPlaceholder('Search airlines...');
886 | await input.fill('', { timeout: 5000 });
> 887 | await expect(input).toHaveValue('');
| ^
888 | await input.fill(query, { timeout: 5000 });
889 | await expect(input).toHaveValue(query);
890 | }
at fillSearchQuery (/home/runner/work/carry-fit/carry-fit/e2e/main-flow.test.ts:887:23)
at /home/runner/work/carry-fit/carry-fit/e2e/main-flow.test.ts:938:3
|
🎭 Playwright Run Summary
1 flaky
main-flow.test.ts:922:2 › Favorite Airlines Dialog › should add and remove airlines from favorites in dialog
39 passed (2.9m)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
playwright-report
|
2.48 MB |
|