Skip to content

Add additional spec and assertions for epis_issues

Jarka Košanová requested to merge 4185-spec-failure into master

What does this MR do?

It adds a new spec and assertions that could help to figure out why the build sometimes fails.

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

We've been sometimes seeing a weird failure (eg. https://gitlab.com/nick.thomas/gitlab-ee/-/jobs/42232414).

This change will clarify at least in which direction should we be looking:

  1. if the failure changes to fail newly on https://gitlab.com/gitlab-org/gitlab-ee/blob/dd0420ab4273ba3236c82d7523aa8d7517be8652/spec/ee/spec/features/epics/epic_issues_spec.rb#L90 no issues were associated to the epics and we can say there is an error in js / permissions check / fixtures
  2. if the failure remains the same it means there wasn't an error when adding issues to an epic and there might be something wrong with either writing new li element with the newly associated issue to the list or there is a possible issue that the assertion is checked BEFORE the element is drawn.

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

#4185 (closed)

Merge request reports