Fix a broken spec
Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
parent
75275d9726
commit
fc7c7cb954
1 changed files with 3 additions and 9 deletions
|
@ -132,19 +132,13 @@ describe 'Filter merge requests', feature: true do
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
describe 'for assignee and label from issues#index' do
|
describe 'for assignee and label from mr#index' do
|
||||||
let(:search_query) { "assignee:@#{user.username} label:~#{label.title}" }
|
let(:search_query) { "assignee:@#{user.username} label:~#{label.title}" }
|
||||||
|
|
||||||
before do
|
before do
|
||||||
input_filtered_search("assignee:@#{user.username}")
|
input_filtered_search(search_query)
|
||||||
|
|
||||||
expect_mr_list_count(1)
|
expect_mr_list_count(0)
|
||||||
expect_tokens([{ name: 'assignee', value: "@#{user.username}" }])
|
|
||||||
expect_filtered_search_input_empty
|
|
||||||
|
|
||||||
input_filtered_search_keys("label:~#{label.title}")
|
|
||||||
|
|
||||||
expect_mr_list_count(1)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'assignee and label', js: true do
|
context 'assignee and label', js: true do
|
||||||
|
|
Loading…
Reference in a new issue