Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(content-releases): fix flaky FE unit tests #19927

Merged
merged 4 commits into from Mar 27, 2024

Conversation

simotae14
Copy link
Contributor

@simotae14 simotae14 commented Mar 26, 2024

What does it do?

It tries to fix some unit tests randomly failing.

Why is it needed?

Because we have often the step failing in our PRs

it seems that the issue is the way we mock the CheckPermissions as you can see here https://github.com/strapi/strapi/actions/runs/8433658811/job/23095325990
Schermata 2024-03-26 alle 11 17 56

@simotae14 simotae14 self-assigned this Mar 26, 2024
Copy link

vercel bot commented Mar 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
contributor-docs ❌ Failed (Inspect) Mar 26, 2024 1:12pm

Copy link
Member

@joshuaellis joshuaellis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this might need porting to V5 separately, so we can be confident it's fixed there as well.

@joshuaellis joshuaellis merged commit a4bd82c into develop Mar 27, 2024
30 of 31 checks passed
@joshuaellis joshuaellis deleted the fix/fix-flaky-FE-unit-tests branch March 27, 2024 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants