Skip to content

E2E: Ignore deleted milestones in GitHubImport E2E

What does this MR do and why?

Ignore GitHub milestone events that are related to deleted milestones.

When milestones are deleted in GitHub, the milestone events aren't removed from the timeline, so the API response contains them. GitLab doesn't support such a feature. When a milestone is deleted, all events are deleted.

So, since we can't create an event for a deleted milestone, this MR changes the E2E tests to exclude such events from the expected amount.

Related to: #420588 (closed)

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Rodrigo Tomonari

Merge request reports