Commit bf5972e1 authored by Martin Wortschack's avatar Martin Wortschack

fix test for usage statistics

parent 27319d58
...@@ -382,6 +382,8 @@ describe 'Admin updates settings' do ...@@ -382,6 +382,8 @@ describe 'Admin updates settings' do
end end
it 'loads usage ping payload on click', :js do it 'loads usage ping payload on click', :js do
visit metrics_and_profiling_admin_application_settings_path
expect(page).to have_button 'Preview payload' expect(page).to have_button 'Preview payload'
find('.js-usage-ping-payload-trigger').click find('.js-usage-ping-payload-trigger').click
......
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