Skip to content
Snippets Groups Projects
Commit a0d9d70b authored by Phil Hughes's avatar Phil Hughes
Browse files

Merge branch 'as-fix-spec-master' into 'master'

Use .trigger(‘click’) instead of .click

See merge request !11317

Former-commit-id: 8c4e4020
parents 499449ea 1a7bb5f2
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -158,7 +158,7 @@ describe 'Issue Boards', feature: true, js: true do
end
 
page.within(first('.board')) do
find('.card:nth-child(2)').click
find('.card:nth-child(2)').trigger('click')
end
 
page.within('.assignee') do
Loading
Loading
Loading
Loading
@@ -43,7 +43,7 @@ describe 'Dashboard > milestone filter', feature: true, js: true do
end
 
it 'should not change active Milestone unless clicked' do
find(milestone_select).click
find(milestone_select).trigger('click')
 
expect(find('.dropdown-content')).to have_selector('a.is-active', count: 1)
 
Loading
Loading
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