microsoft / playwright

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
https://playwright.dev
Apache License 2.0
65.65k stars 3.57k forks source link

[Bug]: Playwright's browsers dont behave as regular browsers #32236

Open ymoon715 opened 3 weeks ago

ymoon715 commented 3 weeks ago

Version

1.46.1

Steps to reproduce

  1. Open https://mui.com/x/react-date-pickers/date-range-picker/ from your browser
  2. try to click check in input, then click MM, then DD, then YYYY and see that they properly get highlighted as shown in the video

https://github.com/user-attachments/assets/1ed1026a-43d2-4b22-b3d9-9e6847007af6

  1. Now open playwright browser, either chromium or firefox will do.
  2. Do the same action and see that none of them will get highlighted as shown in the video

https://github.com/user-attachments/assets/ceb122e6-4b1b-4c87-9718-0e7790533eba

Expected behavior

correctly be able to click the input fields on the browser as i can on my own browsers

Actual behavior

Although my tests pass locally, it kept failing on github actions. It'd mainly complain about firefox. It'd complain about not being able to input the dates at all (only firefox on github actions)

Additional context

No response

Environment

System:
Apple ARM Sonoma 14.4.1
Node 18.14.1
@playwright/test => 1.46.1
tuleferreira commented 3 weeks ago

I’m also encountering issues with the DateRangePicker (v.7.11.0) when using Playwright version 1.46.1 and Firefox on my Docker server (image: mcr.microsoft.com/playwright:v1.46.1-noble). In addition to interaction problems, the screenshots are coming out incorrect and do not match the layout and behavior observed during manual testing in Firefox, that are correct.