mirror of
https://github.com/we-promise/sure.git
synced 2026-04-17 19:14:11 +00:00
Chromium E2E test fixes (#2108)
* Change test password to avoid chromium conflicts * Update integration tests * Centralize all test password references * Remove unrelated schema changes
This commit is contained in:
@@ -49,7 +49,7 @@ module ActiveSupport
|
||||
|
||||
# Add more helper methods to be used by all tests here...
|
||||
def sign_in(user)
|
||||
post sessions_path, params: { email: user.email, password: "password" }
|
||||
post sessions_path, params: { email: user.email, password: user_password_test }
|
||||
end
|
||||
|
||||
def with_env_overrides(overrides = {}, &block)
|
||||
@@ -60,6 +60,10 @@ module ActiveSupport
|
||||
Rails.configuration.stubs(:app_mode).returns("self_hosted".inquiry)
|
||||
yield
|
||||
end
|
||||
|
||||
def user_password_test
|
||||
"maybetestpassword817983172"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user