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

Investigate E2E test in multi-block-selection.test.js #29875

Open
gwwar opened this issue Mar 15, 2021 · 2 comments
Open

Investigate E2E test in multi-block-selection.test.js #29875

gwwar opened this issue Mar 15, 2021 · 2 comments
Assignees
Labels
[Package] E2E Tests /packages/e2e-tests [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. [Type] Enhancement A suggestion for improvement.

Comments

@gwwar
Copy link
Contributor

gwwar commented Mar 15, 2021

When running this E2E locally: npm run test-e2e -- --puppeteer-interactive specs/editor/various/multi-block-selection.test.js

Multi-block selection › should clear selection when clicking next to blocks fails, but somehow works in CI. Let's investigate to see why this is happening.

This is a follow up to #29836

@gwwar
Copy link
Contributor Author

gwwar commented Apr 8, 2021

It looks like this one does fail sometimes for example see https://github.com/WordPress/gutenberg/runs/2297750606

Do folks have any time to 🔍 a bit more closely? cc @ellatrix @gziolo

@gziolo
Copy link
Member

gziolo commented Apr 8, 2021

It might be a difference in implementation between the Chrome browser and Chromium that is used in the headless mode. Another factor is the speed of execution, in the interactive mode everything is simulated slower. You can use --puppeteer-slowmo=1 to speed things up.

@gziolo gziolo added the [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. label Apr 8, 2021
@ellatrix ellatrix self-assigned this May 21, 2021
@jordesign jordesign added the [Type] Enhancement A suggestion for improvement. label Aug 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Package] E2E Tests /packages/e2e-tests [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

4 participants