microsoft / microsoft/fluentui

perf(`@fluentui/e2e`): slow cypress tests execution

Open
#24,446 10 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area: Testing CI Fluent UI react-northstar (v0) Resolution: Soft Close
Dominant language
TypeScript
Stars
20.3k
Forks
2.9k
Avg merge
2d 9h
Merged PRs (30d)
46

Description

Describe the issue:

It turns out that executing yarn workspace @fluentui/e2e test takes significant time to run time from our PR CI pipeline exectuion duration (in avg 33% when affected).

Technical details:

  • cypress is used to execute those tests

We should investigate why is that happening and improve execution performance.

Actual behavior:

On my local machine (M1) the whole test case suite takes almost 10 minutes Finished 'test' after 9.27 min

Expected behavior:

e2e tests execution time should be improved

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running yarn workspace @fluentui/e2e test and examining the Cypress end-to-end test suite and its PR CI execution. Investigate why the suite takes nearly 10 minutes and measure the result; done means the e2e tests complete faster without losing coverage.

Written by the indexing model from the issue text.

Assessment

Tech stack
cypress, typescript
Domain
performance, testing-qa
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.