Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As demonstrated in #1685, we can make use of Playwright’s grouping feature to improve our e2e test structure:
test
clauses. These blocks are grouped inside an enclosingtest.describe
.test
clauses are usually run in parallel by default in Playwright, though it seems we opted out of test parallelism in our Playwright config. I’m not sure why we did that, but we could now consider changing it back. (If at all, we should do that separately, though.)This PR is a non-functional refactoring. It only introduces the grouping + group descriptions, without any other modifications (except code style).
Tagged @cghague for review, since we just ran into this topic recently, so I thought it was fitting. I’d take care of adjusting the Pro-specific tests once we have merged this over.
![Review on CodeApprove](https://camo.githubusercontent.com/575eb075ea0212ea9b05fa395f16d231ecb42d04a1ad83bd98925e9b2783e9a7/68747470733a2f2f636f6465617070726f76652e636f6d2f65787465726e616c2f6769746875622d7461672d616c6c62672e706e67)