|
Ran
|
Jobs
1
|
Files
668
|
Run time
2min
|
Badge
README BADGES
|
push
github
fix: force languages in cypress browser for tests (#8049) To fix this we had to create a free trial account on cypress and enable the recording of the test. That way we found out the issue was with a locale:  Probably, this works well locally because our local machines do have a default locale, but probably we don't have one when running in CI, and millify library is causing the tests to fail specifically at this line: https://github.com/Unleash/unleash/blob/363911c4a/frontend/src/component/common/AvatarGroup/AvatarGroup.tsx#L89 (validated [here](https://github.com/Unleash/unleash/pull/8040/files#diff-afc8578900b27055214cbe69896d5311dL89)). Unfortunately, upgrading millify didn't help, but downgrading to v5 (which doesn't support locales), solve the issue at the cost of not having the up-to-date library: https://github.com/Unleash/unleash/pull/8048 I believe the issue is related to this locale `c` reported here: https://github.com/cypress-io/cypress/issues/7890#issuecomment-2105991364 because only after overriding the languages this worked
2717 of 3563 branches covered (76.26%)
13784 of 15756 relevant lines covered (87.48%)
711.35 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | 10680863838.1 | 0 |
87.48 |
GitHub Action Run |