Skip to content
Snippets Groups Projects

Replace 'source/search_code.feature' spinach test with an rspec analog

All threads resolved!

What does this MR do?

This MR does these:

  1. It refactors spec/features/projects/files/find_files_spec.rb spec.
  2. It adds a new test to cover the search_code.feature spinach spec.
  3. It removes source/search_code.feature spec

Why was this MR needed?

This is a part of spinach tests removal campaign.

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

#23036 (moved)

Edited by username-removed-86853

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • @blackst0ne Since Rémy is on vacation for 2 weeks, I'll review it hope you don't mind.

  • @blackst0ne Thanks! Some minor comments about removing more steps and other minor tweaks.

  • changed milestone to %10.0

  • @godfat I've resolved all discussions. One of them I didn't mark as resolved because there is a question to you in there. :slight_smile:

  • username-removed-423915 resolved all discussions

    resolved all discussions

  • @blackst0ne Thanks! Looks good to me. Passing to @rspeicher. Could you please review? Thanks!

  • @blackst0ne Please also retry the failed two jobs?

  • mentioned in issue #36782

  • Please also retry the failed two jobs?

    Restarted. :thumbsup_tone1:

  • @blackst0ne Minor nitpick in the spec organization. Thanks! :thumbsup:

  • added 292 commits

    • 7bdbdc8a...cdf87fe8 - 286 commits from branch gitlab-org:master
    • 7a1c5ba7 - Add index on ci_runners.contacted_at
    • 20479913 - Merge remote-tracking branch 'upstream/master'
    • 0a61d648 - Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
    • 5af8ac8e - Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
    • 0f006dc0 - Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce
    • a100bfd3 - Replace 'source/search_code.feature' spinach test with an rspec analog

    Compare with previous version

  • username-removed-86853 resolved all discussions

    resolved all discussions

  • @rspeicher I updated the code. :thumbsup_tone1:

  • @rspeicher I've restarted two failed builds, but it seems they're not related to the spinach specs.

  • @blackst0ne Two more nitpicks. :smiley:

  • username-removed-86853 resolved all discussions

    resolved all discussions

  • added 1 commit

    • ec1ec9b6 - Replace 'source/search_code.feature' spinach test with an rspec analog

    Compare with previous version

  • Robert Speicher approved this merge request

    approved this merge request

  • Robert Speicher mentioned in commit 7edeccfc

    mentioned in commit 7edeccfc

  • mentioned in issue gitlab#6527

  • Please register or sign in to reply
    Loading