2
0

Use shared system spec helper methods (#31784)

This commit is contained in:
Matt Jankowski
2024-09-09 04:01:26 -04:00
committed by GitHub
parent 82161d8ae5
commit c6a0768fe5
5 changed files with 7 additions and 15 deletions

View File

@@ -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'))