diff --git a/spec/features/active_link_spec.rb b/spec/features/active_link_spec.rb index dba5513..6b09478 100644 --- a/spec/features/active_link_spec.rb +++ b/spec/features/active_link_spec.rb @@ -25,11 +25,13 @@ click_link "Login" expect(page).to have_content("Login") - click_button "Patron Login" + fill_in "user_username", with: "bltest" + fill_in "user_password", with: "test" + click_button "Login" visit account_path - expect(page).to have_css("a.active", text: "Blacklight Test") + expect(page).to have_css("a.active", text: "blacklight test") end context "when Keycloak patron authentication is enabled" do