build(deps-dev): bump lint-staged from 15.2.0 to 15.2.1 #567
playwright.yml
on: pull_request
Playwright tests
3m 41s
Annotations
1 error, 1 warning, 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 tests
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
🎭 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 (41.5s)
|