diff --git a/app/views/admin/auctions/index.html.erb b/app/views/admin/auctions/index.html.erb
index aef29ff8c..85d533fa7 100644
--- a/app/views/admin/auctions/index.html.erb
+++ b/app/views/admin/auctions/index.html.erb
@@ -49,7 +49,7 @@
class: 'btn btn-primary' %>
- <%= link_to "#", class: "btn btn-warning edit",
+ <%= link_to "#", class: "btn btn-warning edit", id: 'reserved-modal',
data: {
toggle: "modal",
url: admin_reserved_domains_path,
diff --git a/test/integration/admin_area/auction_test.rb b/test/integration/admin_area/auction_test.rb
index 2cbfce5c2..c51465ab2 100644
--- a/test/integration/admin_area/auction_test.rb
+++ b/test/integration/admin_area/auction_test.rb
@@ -163,4 +163,11 @@ class AdminAreaAuctionIntegrationTest < ApplicationSystemTestCase
visit admin_reserved_domains_path
assert_no_text domain.name
end
+
+ def test_should_open_reserved_page_in_modal_window
+ visit admin_auctions_path
+
+ find(:id, "reserved-modal", match: :first).click
+ assert_text 'Reserved domains'
+ end
end