Skip to content

E2E: Fix reindexing spec to match new search file path structure

What does this MR do and why?

E2E: Fix reindexing spec to match new search file path structure

The E2E test was failing because it expected to find the project_file_name in the file path, but the UI has changed and the filename is now displayed in a different location on the page.

See: !183654 (merged)

Fixes: https://gitlab.com/gitlab-org/gitlab/-/issues/525640 Fixes: https://gitlab.com/gitlab-org/gitlab/-/issues/525641

References

Screenshots or screen recordings

image image

How to set up and validate locally

$ gdk config set elasticsearch.enabled true
$ gdk reconfigure && gdk start elasticsearch
$ export ELASTIC_URL=http://localhost:9200/

$ bundle exec rspec qa/specs/features/ee/browser_ui/9_data_stores/elasticsearch/elasticsearch_reindexing_spec.rb

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.

Merge request reports

Loading