diff --git a/spec/system/admin/channel/twitter_spec.rb b/spec/system/admin/channel/twitter_spec.rb index 611b662d1..5d6ca2bbc 100644 --- a/spec/system/admin/channel/twitter_spec.rb +++ b/spec/system/admin/channel/twitter_spec.rb @@ -6,6 +6,8 @@ RSpec.describe 'Admin Panel > Channels > Twitter', :authenticated, :use_vcr, typ visit '/#channels/twitter' within(:active_content) do find('.js-configApp').click + + modal_ready fill_in 'Twitter Consumer Key *', with: 'some_key', exact: true fill_in 'Twitter Consumer Secret *', with: 'some_secret', exact: true click_on 'Submit' @@ -20,6 +22,8 @@ RSpec.describe 'Admin Panel > Channels > Twitter', :authenticated, :use_vcr, typ visit '/#channels/twitter' within(:active_content) do find('.js-configApp').click + + modal_ready fill_in 'Twitter Consumer Key *', with: 'some_key', exact: true fill_in 'Twitter Consumer Secret *', with: 'some_secret', exact: true fill_in 'Twitter Access Token *', with: 'some_oauth_token', exact: true