Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]tests are failing for firefox browser in docker container #28896

Closed
niyazhashmi1105 opened this issue Jan 8, 2024 · 2 comments · Fixed by #28921
Closed

[BUG]tests are failing for firefox browser in docker container #28896

niyazhashmi1105 opened this issue Jan 8, 2024 · 2 comments · Fixed by #28921

Comments

@niyazhashmi1105
Copy link

System info

  • Playwright Version: [v1.40.1]
  • Operating System: [ Ubuntu 20]
  • Browser: [Firefox]
  • Other info:
  • Docker image: mcr.microsoft.com/playwright:v1.40.0-jammy

Source code

[We will only be able to work on the issues that we can reproduce.]
when we try to execute tests in parallel mode using github action workflow in docker container using the 1.40.0-jammy latest version the test are failing only in firefox browser where as passed in webkit and chrome browsers.

image

image

image

image

image

image

image

Steps
npx playwright test

Expected

All executed tests should work in all browsers in parallel mode with out any issue.

Actual

tests are failing in firefox browser

@mxschmitt
Copy link
Member

mxschmitt commented Jan 8, 2024

While we reiterate on this issue in our team, to find a better long term solution, a workaround for this would be to set the $HOME environment variable. Like here in this workflow.

Linking #6500.

@niyazhashmi1105
Copy link
Author

thanks @mxschmitt ,it worked after setting $HOME variable and executed successfully in firefox browsers too

image

image

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants