-
Notifications
You must be signed in to change notification settings - Fork 0
[#6] [UI] As a user, I can login, [#7] [UI] As a user, I can logout #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
|
Code coverage is now at 0.00% (0/77 lines) Generated by 🚫 Danger |
sanG-github
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good on overall!! 🚀
Co-authored-by: Sang Huynh Thanh <63148598+sanG-github@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why don't we have a test for these features, e.g. testing the happy path with feature test?
sanG-github
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about styling the sign in page? As I see Mosharaf implemented it in this PR.
pls ignore this requres, since we're using Devise, re-testing its behavior is redundant. |
|
|
||
| submit_authentication_form(user.email, 'invalid') | ||
|
|
||
| expect(page).to have_text "Invalid Email or password." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Prefer single-quoted strings when you don't need string interpolation or special symbols. |
| within selectors[:auth_form] do | ||
| fill_in selectors[:email_field], with: email | ||
| fill_in selectors[:password_field], with: password | ||
| click_button "Log in" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Prefer single-quoted strings when you don't need string interpolation or special symbols. |
f972ed6 to
d2abab7
Compare
|
@topnimble can you resolve the failing checks? |
Closes
What happened 👀
Add Bootstrap UI.
Insight 📝
Some changes of log in page are in https://github.com/mosharaf13/google-scrapper-ruby/pull/36/files.
Proof Of Work 📹