GitLab steht Mittwoch, den 08. Juli, zwischen 09:00 und 13:00 Uhr aufgrund von Wartungsarbeiten nicht zur Verfügung.

Commit d7b48eb0 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Replaced trigger calls for click

parent 27a28d99
......@@ -38,7 +38,7 @@ feature 'issue move to another project' do
end
scenario 'moving issue to another project', js: true do
find('.js-move-issue').trigger('click')
find('.js-move-issue').click
wait_for_requests
all('.js-move-issue-dropdown-item')[0].click
find('.js-move-issue-confirmation-button').click
......@@ -52,7 +52,7 @@ feature 'issue move to another project' do
scenario 'searching project dropdown', js: true do
new_project_search.team << [user, :reporter]
find('.js-move-issue').trigger('click')
find('.js-move-issue').click
wait_for_requests
page.within '.js-sidebar-move-issue-block' do
......@@ -69,7 +69,7 @@ feature 'issue move to another project' do
background { another_project.team << [user, :guest] }
scenario 'browsing projects in projects select' do
find('.js-move-issue').trigger('click')
find('.js-move-issue').click
wait_for_requests
page.within '.js-sidebar-move-issue-block' do
......
......@@ -88,7 +88,7 @@ feature 'Diffs URL', js: true do
visit diffs_project_merge_request_path(project, merge_request)
# Throws `Capybara::Poltergeist::InvalidSelector` if we try to use `#hash` syntax
find("[id=\"#{changelog_id}\"] .js-edit-blob").trigger('click')
find("[id=\"#{changelog_id}\"] .js-edit-blob").click
expect(page).to have_selector('.js-fork-suggestion-button', count: 1)
expect(page).to have_selector('.js-cancel-fork-suggestion-button', count: 1)
......
......@@ -15,14 +15,14 @@ describe 'User searches for wiki pages', :js do
include_examples 'top right search form'
it 'finds a page' do
find('.js-search-project-dropdown').trigger('click')
find('.js-search-project-dropdown').click
page.within('.project-filter') do
click_link(project.name_with_namespace)
end
fill_in('dashboard_search', with: 'content')
find('.btn-search').trigger('click')
find('.btn-search').click
page.within('.search-filter') do
click_link('Wiki')
......
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