Use globs to verify expected matches for tff mappings

What does this MR do and why?

Use globs to verify expected matches for tff mappings

Previously, using globs to match test mappings would be flaky due to changes on the file system.

This commit allows the use of globs in the expected list as well.

References

Closes #537592 (closed)

How to set up and validate locally

  1. scripts/verify-tff-mapping
  2. rm ee/spec/features/groups/navbar_spec.rb
  3. scripts/verify-tff-mapping
  4. touch ee/spec/features/users/navbar_spec.rb
  5. scripts/verify-tff-mapping

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Peter Leitzen

Merge request reports

Loading