Skip to content

[#6] [UI] As a user, I can login, [#7] [UI] As a user, I can logout#32

Open
ghost wants to merge 31 commits into
developfrom
feature/ui-log-in-log-out
Open

[#6] [UI] As a user, I can login, [#7] [UI] As a user, I can logout#32
ghost wants to merge 31 commits into
developfrom
feature/ui-log-in-log-out

Conversation

@ghost

@ghost ghost commented May 23, 2023

Copy link
Copy Markdown

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 📹

Screenshot 2023-05-23 at 18-08-03 GoogleScrapperRuby

Screenshot 2023-05-23 at 18-07-46 GoogleScrapperRuby

Screenshot 2023-06-01 at 11-23-58 GoogleScrapperRuby

@ghost ghost changed the base branch from main to backend/user-registration May 23, 2023 10:25
@github-actions

github-actions Bot commented May 23, 2023

Copy link
Copy Markdown

Code coverage is now at 0.00% (0/77 lines)

Generated by 🚫 Danger

@ghost ghost self-assigned this May 26, 2023
@ghost ghost changed the title [#6] [UI] As a user, I can login [#6] [UI] As a user, I can login, [#7] [UI] As a user, I can logout May 26, 2023
@ghost ghost marked this pull request as ready for review May 26, 2023 08:44
@ghost ghost requested review from longnd, mosharaf13 and sanG-github as code owners May 26, 2023 08:44
Base automatically changed from backend/user-registration to develop May 26, 2023 11:28

@sanG-github sanG-github left a comment

Copy link
Copy Markdown
Collaborator

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!! 🚀

Comment thread app/views/layouts/application.html.erb Outdated
Comment thread app/views/layouts/application.html.erb Outdated
Comment thread spec/support/devise.rb Outdated
Comment thread spec/support/user_authentication.rb
Comment thread .env
topnimble and others added 5 commits May 29, 2023 10:03
Co-authored-by: Sang Huynh Thanh <63148598+sanG-github@users.noreply.github.com>
Comment thread .env Outdated

@longnd longnd left a comment

Copy link
Copy Markdown
Contributor

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 sanG-github left a comment

Copy link
Copy Markdown
Collaborator

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.

@longnd

longnd commented May 30, 2023

Copy link
Copy Markdown
Contributor

why don't we have a test for these features, e.g. testing the happy path with feature test?

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."

@github-actions github-actions Bot May 30, 2023

Copy link
Copy Markdown

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"

@github-actions github-actions Bot May 30, 2023

Copy link
Copy Markdown

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.

@ghost

ghost commented Jun 1, 2023

Copy link
Copy Markdown
Author

How about styling the sign in page? As I see Mosharaf implemented it in this PR.

Fixed in 0e53c67.

@ghost ghost force-pushed the feature/ui-log-in-log-out branch from f972ed6 to d2abab7 Compare June 1, 2023 04:33
@ghost ghost added @0.2.0 feature labels Jun 1, 2023
@ghost ghost added this to the 0.3.0 milestone Jun 1, 2023
@ghost ghost added the @0.3.0 label Jun 1, 2023
@ghost ghost requested review from longnd and sanG-github June 1, 2023 11:48
@longnd

longnd commented Jun 2, 2023

Copy link
Copy Markdown
Contributor

@topnimble can you resolve the failing checks?

@sanG-github sanG-github removed their request for review September 26, 2023 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants