Merge pull request #2812 from internetee/update_test_coverage/reserved_domains_test

added new tests for reserved_domains_test
This commit is contained in:
Timo Võhmar 2025-06-20 15:00:50 +03:00 committed by GitHub
commit cfe1059c5f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -49,4 +49,17 @@ class AdminAreaReservedDomainsIntegrationTest < JavaScriptApplicationSystemTestC
response.headers['Content-Disposition'] response.headers['Content-Disposition']
assert_not_empty response.body assert_not_empty response.body
end end
def test_release_to_auction
visit admin_reserved_domains_path
first("input[type='checkbox']").set(true)
click_on 'Send to the auction list'
assert_current_path admin_auctions_path
assert_text 'reserved.test'
assert_text 'started'
end
end end