Skip to content

Fix capybara deprecation of passing an int

What does this MR do and why?

Fixes a deprecation warning that occurs when a integer is passed to a capybara link in the pipelines feature spec.

Warning is:

Locator Integer:1 for selector :link must be an instance of String or Symbol. This will raise an error in a future version of Capybara.

How to validate

Run the spec/features/projects/pipelines/pipelines_spec.rb and see the deprecations.

Run the spec with the new branch checked out and see no deprecations.

Edited by Allison Browne

Merge request reports