1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00
unleash.unleash/.github/workflows
Gastón Fournier acecffd93f
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:
![image
(38)](https://github.com/user-attachments/assets/db2fad23-6fec-47c0-8c6f-a93f3e4e4c4c)

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:
363911c4a1/frontend/src/component/common/AvatarGroup/AvatarGroup.tsx (L89)
(validated
[here](https://github.com/Unleash/unleash/pull/8040/files#diff-afc857890da2221bd34feed0ff45dd7745ff32fb0b27055214cbe69896d5311dL89)).

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
2024-09-03 10:06:58 +00:00
..
add-to-project.yml
auto-assign-pr-author.yaml
build_coverage.yaml task: Yarn v4 (#7457) 2024-06-27 12:52:43 +02:00
build_doc_prs.yaml Node20 (#7095) 2024-05-23 14:14:09 +02:00
build_frontend_prs.yml fix: force languages in cypress browser for tests (#8049) 2024-09-03 10:06:58 +00:00
build_prs_jest_report.yaml task: Yarn v4 (#7457) 2024-06-27 12:52:43 +02:00
build.yaml task: Yarn v4 (#7457) 2024-06-27 12:52:43 +02:00
check_links.yaml chore(deps): update lycheeverse/lychee-action action to v1.10.0 (#7298) 2024-06-06 00:33:36 +00:00
codeql-analysis.yml
dependency-review.yml chore: upgrade to yarn v4 (#7230) 2024-06-07 14:00:19 +02:00
docker_publish.yaml fix: when running on main we need to use latest=auto (#7969) 2024-08-22 12:45:18 +02:00
e2e.frontend.yaml task: Yarn v4 (#7457) 2024-06-27 12:52:43 +02:00
flag-no-response.yaml
generate-docs.yaml
gradual-strict-null-checks.yml task: Yarn v4 (#7457) 2024-06-27 12:52:43 +02:00
notify_enterprise.yaml task: Yarn v4 (#7457) 2024-06-27 12:52:43 +02:00
pr_add_test_results.yaml
publish-new-version.yaml chore: strip +main from package version (#8017) 2024-08-30 09:50:32 +02:00
release_changelog.yml chore: backport changed made in the workflow (#7255) 2024-06-04 12:00:00 +02:00
release.yaml task: Yarn v4 (#7457) 2024-06-27 12:52:43 +02:00
reset_heroku.yml
update_contributors.yaml Node20 (#7095) 2024-05-23 14:14:09 +02:00
update_version_for_version_checker.yml chore: workflows call workflows (#7089) 2024-05-24 07:28:39 +00:00
validate-migrations.yaml task: Yarn v4 (#7457) 2024-06-27 12:52:43 +02:00