refs #5493
[arvados.git] / apps / workbench / test / integration / user_manage_account_test.rb
index 9b5e5d61e17ec0495cc1dc3dffc19e5395db8604..6d680e2d67fe2926c6cbb9177970d5ef9bdeec86 100644 (file)
@@ -171,4 +171,14 @@ class UserManageAccountTest < ActionDispatch::IntegrationTest
     assert_text 'A request for shell access was sent on '
     assert_selector 'a', text: 'Send request for shell access'
   end
+
+  test "create new repository" do
+    visit page_with_token("active_trustedclient", "/manage_account")
+    click_on "Add new repository"
+    within ".modal-dialog" do
+      fill_in "Name", with: "workbenchtest"
+      click_on "Create"
+    end
+    assert_text ":active/workbenchtest.git"
+  end
 end