Skip to content

[Chore]: Speed up e2e tests  #5435

Closed as not planned
Closed as not planned
@jsjoeio

Description

@jsjoeio

What is your suggestion?

To speed up our e2e tests using one of the two options:

Option 1 - one test per file

By default, tests in a single file are run in order. If you have many independent tests in a single file, you might want to run them in parallel with test.describe.configure([options]).

They won't parallelize multiple tests in a single file so we could split tests out to individual files.

Source

Option 2 - figure out how to use configure

Supposedly there is a method: test.describe.configure({ mode: 'parallel' });. However, we extend test and it doesn't seem to exist when I try to use it locally. I've only managed to get test.describe.parallel semi-working.

Why do you want this feature?

I want to speed up CI and cut down on e2e run times.

image

Are there any workarounds to get this functionality today?

No

Are you interested in submitting a PR for this?

Yes

Metadata

Metadata

Assignees

Labels

enhancementSome improvement that isn't a feature

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions