Skip to content
Snippets Groups Projects
Commit 3f9495da authored by Sean McGivern's avatar Sean McGivern
Browse files

Merge branch 'fix-default-sort-order-spec-failures' into 'master'

Fix failures in default sort order spec

See merge request !8379
parents 16335b3c ff4d5fc1
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -180,16 +180,10 @@ describe 'Projects > Issuables > Default sort order', feature: true do
end
 
def visit_merge_requests_with_state(project, state)
visit_merge_requests project
visit_issuables_with_state state
visit_merge_requests project, state: state
end
 
def visit_issues_with_state(project, state)
visit_issues project
visit_issuables_with_state state
end
def visit_issuables_with_state(state)
within('.issues-state-filters') { find("span", text: state.titleize).click }
visit_issues project, state: state
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment