-
Notifications
You must be signed in to change notification settings - Fork 805
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 Tests: In CI, also run in Firefox #17893
Conversation
fca9b41
to
deb6875
Compare
This is an automated check which relies on |
Let's wait for #17950, which will allow us to have a matrix for both plugin/no plugin, and Chrome/Firefox. |
We currently run our e2e tests in two different ways: - Once for a snapshot of the Jetpack plugin per the current PR. - Once with the latest Gutenberg plugin installed. The latter is supposed to help us uncover issues with our own GB blocks that depend on GB, in case the new GB plugin version makes changes that can cause breakage. There might be opportunity to extend this further, such as also running them with the latest Gutenberg plugin _Release Candidate_ (rather than stable release) installed; or in different browsers (see #17893 for an ongoing experiment). Anyway, the two ways we're currently running the e2e tests are implemented separately, even though they share most of the logic. This PR thus attempts to merge them into one single flow, with a [build matrix](https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix) to distinguish the different bits. This should make the GH action more maintainable and extensible. Co-authored-by: Brad Jorsch <[email protected]>
7aa28c8
to
70703c0
Compare
70703c0
to
afc9264
Compare
This has been merged. I've accordingly rebased. |
I'll close this PR for now because of the lack of activity on this. We can always reopen in the future if needed, but it will need a rebase, so it may be easier to start a new PR at this point. |
Fixes #17874
Changes proposed in this Pull Request:
WIP. First stab at running e2e tests in Firefox, when run in CI.
Jetpack product discussion
N/A
Does this pull request change what data or activity we track or use?
No.
Testing instructions:
See if the e2e tests GH Action passes 🤞
To run locally (with tests visible):
Proposed changelog entry for your changes:
E2E Tests: Also run in Firefox, when invoked from CI.
TODO
[ 'chrome', 'firefox' ]
)? See e.g. here for inspiration.cc/ @brbrr @bsessions85