mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-09 19:04:33 -04:00
Merge pull request #3341 from alphagov/hide-postage-validation-failed
Don’t show the postage when validation has failed
This commit is contained in:
@@ -405,6 +405,7 @@ def test_notification_page_shows_validation_failed_precompiled_letter(
|
||||
assert not page.select('p.notification-status')
|
||||
|
||||
assert page.select_one('main img')['src'].endswith('.png?page=1')
|
||||
assert not page.select('.letter-postage')
|
||||
|
||||
|
||||
@pytest.mark.parametrize('notification_status, expected_message', (
|
||||
|
||||
Reference in New Issue
Block a user