Skip to content

Fix date expectation to be zero-padded

Patrick Bajao requested to merge pb-fix-failing-users-spec into master

What does this MR do and why?

The date we display on the admin users page is zero-padded (e.g. Jan 02, 2023) but the expectation we have in the feature spec is blank-padded (e.g. Jan 2, 2023) so it fails when the date is from 1 - 9.

This fixes the spec to expect zero-padded date.

Related to gitlab-org/quality/engineering-productivity/master-broken-incidents#515 (closed). Example of failure: https://gitlab.com/gitlab-org/gitlab/-/jobs/3541112624.

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 Patrick Bajao

Merge request reports