HSLdevcom / HSLdevcom/jore4-ui

Research how to make running the tests faster

Open
#433 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1
Forks
0
Avg merge
1d 8h
Merged PRs (30d)
29

Description

Currently there is a lot waiting time in each tests when running them. We need to wait for the map to load, we need to wait for the app to be downloaded etc.

We should research how to make this faster, check how much the running time is reduced if we do not wait for the map tiles to load (use the CI setup). And maybe check would it be faster to for example build the optimized "production" version of the App and run the test for that or do we lose the won time to the build time.

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 reviewing the CI setup and the current test run to identify where time is spent waiting for map tiles and the app download. Measure the runtime with map-tile waiting disabled, then compare it with running an optimized production build, including build time; document which approach reduces total test time.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, performance, testing
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.