Skip to content

Fix transient failure of group_member_contributions/components/app_spec.js

Inactive Account requested to merge winh-group_member_contributions-spec into master

What does this MR do?

Move asynchronous fetchContributedMembers() out of synchronous mounted() life cycle hook of group_member_contributions/components/app.vue. That way the corresponding component test does not transiently fail when the request is still pending.

See 7 failed request to /foo/analytics.json before this change (https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/117098883) and none afterwards (https://gitlab.com/gitlab-org/gitlab-ee/-/jobs/117780059).

What are the relevant issue numbers?

closes https://gitlab.com/gitlab-org/gitlab-ee/issues/7728 again

Does this MR meet the acceptance criteria?

Edited by Coung Ngo

Merge request reports