Use shared system spec helper methods (#31784)
This commit is contained in:
parent
82161d8ae5
commit
c6a0768fe5
5 changed files with 7 additions and 15 deletions
|
@ -91,7 +91,7 @@ RSpec.describe 'blocking domains through the moderation interface' do
|
|||
visit edit_admin_domain_block_path(domain_block)
|
||||
|
||||
select I18n.t('admin.domain_blocks.new.severity.suspend'), from: 'domain_block_severity'
|
||||
click_on I18n.t('generic.save_changes')
|
||||
click_on submit_button
|
||||
|
||||
# It doesn't immediately block but presents a confirmation screen
|
||||
expect(page).to have_title(I18n.t('admin.domain_blocks.confirm_suspension.title', domain: 'example.com'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue