We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77f326c commit 50dd2f9Copy full SHA for 50dd2f9
1 file changed
evaluationserver/spec/support/features/session_helpers.rb
@@ -1,8 +1,10 @@
1
module Features
2
module SessionHelpers
3
def authenticate_as_admin
4
+ visit root_path
5
+ click_link(t('layout.admin_on'))
6
admin_user = "admin"
- page.driver.browser.authorize(admin_user,ENV['ADMIN_PASSWORD'])
7
+ page.driver.browser.basic_authorize(admin_user,ENV['ADMIN_PASSWORD'])
8
end
9
10
0 commit comments