build(deps-dev): bump @types/react from 18.2.61 to 18.2.62 #920
playwright.yml
on: pull_request
Playwright tests
4m 26s
Annotations
1 error and 1 notice
home.spec.ts:13:5 › if I select options and click search flights it redirects me to search results:
apps/web/e2e/home.spec.ts#L24
1) home.spec.ts:13:5 › if I select options and click search flights it redirects me to search results
Error: Timed out 5000ms waiting for expect(locator).toHaveURL(expected)
Locator: locator(':root')
Expected string: "http://localhost:3000/search?cycle=2023-12-21&departureIcao=SBSP&arrivalIcao=SBRJ&company=GLO&aircraftIcaoCode=B738"
Received string: "http://localhost:3000/search?cycle=2023-12-21&departureIcao=ABCD&arrivalIcao=SBRJ&company=GLO&aircraftIcaoCode=B738"
Call log:
- expect.toHaveURL with timeout 5000ms
- waiting for locator(':root')
- locator resolved to <html>…</html>
- unexpected value "http://localhost:3000/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:3000/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:3000/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:3000/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:3000/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:3000/"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:3000/search?cycle=2023-12-21&departureIcao=ABCD&arrivalIcao=SBRJ&company=GLO&aircraftIcaoCode=B738"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:3000/search?cycle=2023-12-21&departureIcao=ABCD&arrivalIcao=SBRJ&company=GLO&aircraftIcaoCode=B738"
- locator resolved to <html>…</html>
- unexpected value "http://localhost:3000/search?cycle=2023-12-21&departureIcao=ABCD&arrivalIcao=SBRJ&company=GLO&aircraftIcaoCode=B738"
22 | await page.getByRole('button', { name: /search flights/i }).click()
23 |
> 24 | await expect(page).toHaveURL(
| ^
25 | '/search?cycle=2023-12-21&departureIcao=SBSP&arrivalIcao=SBRJ&company=GLO&aircraftIcaoCode=B738'
26 | )
27 | })
at /__w/mach/mach/apps/web/e2e/home.spec.ts:24:22
|
🎭 Playwright Run Summary
1 flaky
home.spec.ts:13:5 › if I select options and click search flights it redirects me to search results
6 passed (42.0s)
|