Commit fe37fd19 authored by Nailia Iskhakova's avatar Nailia Iskhakova Committed by Walmyr Lima e Silva Filho

Fix epic url in roadmap spec

Update epic selector to contain relative path
parent 374ffde7
...@@ -20,7 +20,7 @@ module QA ...@@ -20,7 +20,7 @@ module QA
def epic_present?(epic) def epic_present?(epic)
uri = URI(epic.group.web_url) uri = URI(epic.group.web_url)
group_relative_url = uri.path group_relative_url = uri.path
epic_href_selector = "a[href='#{group_relative_url}/-/epics/#{epic.iid}']" epic_href_selector = "a[href*='#{group_relative_url}/-/epics/#{epic.iid}']"
within_element(:roadmap_shell) do within_element(:roadmap_shell) do
find("[data-qa-selector='epic_details_cell'] #{epic_href_selector}") && find("[data-qa-selector='epic_details_cell'] #{epic_href_selector}") &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment