Skip to content

Fix notes_on_personal_snippets_spec

What does this MR do?

EE port: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/1846

Check for all possible timeago strings that can be rendered in a few minutes.

We cannot rely on just "less than a minute ago", as for whatever reason, we could see delays that update timeago to have a different string. Looks like @stanhu was thinking of a similar fix.

Fixes these failures: https://gitlab.com/gitlab-org/gitlab-ee/builds/15796069

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

Why was this MR needed?

Screenshots (if relevant)

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/31938

Merge request reports