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

Puppeteer E2E test: Run on multiple OSes #25383

Merged
merged 2 commits into from
Jan 31, 2023

Conversation

LeviPesin
Copy link
Contributor

@LeviPesin LeviPesin commented Jan 30, 2023

Related issue: #24109

Description

Make Puppeteer test examples on different OSes (Windows, Ubuntu, and Mac). Also reduced the number of threads from 8 to 6 to reduce the number of jobs (I will file a PR for multi-page in-browser parallelism soon, which wouldn't require multi-threading anymore -- but it is quite unstable)

@marcofugaro
Copy link
Contributor

Could you exaplain what is the purpose of this PR? Why does the E2E testing need to run on different os?

@LeviPesin
Copy link
Contributor Author

Since when working on #24109 I found that quite often (about 10% of all examples) they work differently (producing different screenshots or even different errors in some cases) on different OSes.

@marcofugaro
Copy link
Contributor

Ah ok so it's to test if some example looks different on another OS. Is this necessary for three.js?

@LeviPesin
Copy link
Contributor Author

I had an example comparison here: #24109 (comment)
Windows differs more from Ubuntu and Mac but they also have some differences.

@mrdoob mrdoob added this to the r150 milestone Jan 31, 2023
@mrdoob mrdoob merged commit 2cc1b02 into mrdoob:dev Jan 31, 2023
@LeviPesin LeviPesin deleted the puppeteer-run-on-multiple-oses branch January 31, 2023 05:57
@epreston
Copy link
Contributor

@LeviPesin e2e tests are running very smooth on Win10 and OSX (apple silicon)

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 this pull request may close these issues.

4 participants