-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix rubocop and update default user password
- Loading branch information
Showing
8 changed files
with
13 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
--- | ||
[email protected]: | ||
password: <%= ENV.fetch('USER_PASSWORD', 'StrongPassword12!@') %> | ||
password: <%= ENV.fetch('USER_PASSWORD', 'Str0ngPa$$word') %> | ||
terms_and_conditions_agreed_at: <%= 1.minute.ago %> | ||
|
||
[email protected]: | ||
password: <%= ENV.fetch('USER_PASSWORD', 'StrongPassword12!@') %> | ||
password: <%= ENV.fetch('USER_PASSWORD', 'Str0ngPa$$w0rd12') %> | ||
terms_and_conditions_agreed_at: <%= 1.minute.ago %> | ||
confirmed_at: <%= 1.minute.ago %> | ||
|
||
[email protected]: | ||
password: <%= ENV.fetch('USER_PASSWORD', 'StrongPassword12!@') %> | ||
password: <%= ENV.fetch('USER_PASSWORD', 'Str0ngPa$$w0rd') %> | ||
terms_and_conditions_agreed_at: <%= 1.minute.ago %> | ||
confirmed_at: <%= 1.minute.ago %> | ||
first_name: Demo | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,12 @@ class SignIn < Base | |
# Authenticate using email and password | ||
# | ||
# @param email [String] login email address (default: [email protected]) | ||
# @param password [String] login password (default: StrongPassword12!@) | ||
# @param password [String] login password (default: Str0ngPa$$w0rd) | ||
def with_email_and_password(email = nil, password = nil) | ||
wait_until_header_visible | ||
|
||
email ||= '[email protected]' | ||
password ||= ENV.fetch('USER_PASSWORD', 'StrongPassword12!@') | ||
password ||= ENV.fetch('USER_PASSWORD', 'Str0ngPa$$w0rd') | ||
|
||
email_field.set(email) | ||
password_field.set(password) | ||
|