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

e2e resources #2

Closed
carstingaxion opened this issue Aug 5, 2024 · 3 comments
Closed

e2e resources #2

carstingaxion opened this issue Aug 5, 2024 · 3 comments

Comments

@carstingaxion
Copy link
Owner

carstingaxion commented Aug 5, 2024

Focus on WordPress

Handbook

using Docker (KISS Example)

using wp-env

using Playground 🌈🤩🚀

Pro

Contra

I couldn't get it to reliably work with the nested iframes structure. Playground.wordpress.net embeds the /remote.html file in an iframe, and inside that there is another iframe where WordPress is rendered. I tried for a few hours, but still couldn't get Playwright to wait for and target the most recent page in the doubly nested WordPress iframe.

Adam Zielinski: WordPress/wordpress-playground#885 (comment)

.... some hours later

So maybe let's give Playwright another chance provided it can reliably handle the doubly nested iframes used in Playground!

Adam Zielinski: WordPress/wordpress-playground#885 (comment)

although I'm slow (and always am), I started working with someone to work on running the Gutenberg E2E suite against the Playground with Core's trunk. My schedule was a bit off because of a meetup we had a couple weeks ago and a small vacation I took afterwards.

@ dmsnell 07.11.2023


core use & migration guides

Introduction of Playwright

VSCode extension

@carstingaxion

This comment was marked as outdated.

@carstingaxion

This comment was marked as outdated.

@carstingaxion
Copy link
Owner Author

After an interesting journey through different environments, GatherPress has finally reached wp-now level and this issue can be closed.

The journey:

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

No branches or pull requests

1 participant