Maintenance: Wait for modal to be ready/disappeared in Twitter system test to make it more stable.
This commit is contained in:
parent
201027d23c
commit
f4ef3636ff
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue