Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

test(login): improve test login screen #2312

Merged
merged 9 commits into from
Sep 15, 2020

Conversation

rsousaj
Copy link
Contributor

@rsousaj rsousaj commented Aug 16, 2020

Fixes #2278

  • Added unit tests for Login Screen

@jsf-clabot
Copy link

jsf-clabot commented Aug 16, 2020

CLA assistant check
All committers have signed the CLA.

@gitpod-io
Copy link

gitpod-io bot commented Aug 16, 2020

@rsousaj
Copy link
Contributor Author

rsousaj commented Aug 17, 2020

Hi guys, sorry about the import's mess. It's my first contribution.
So, I tried to cancel the PR but I couldn't.

How can I procedure now ?

Thanks

@morrme
Copy link
Member

morrme commented Aug 17, 2020

Hi guys, sorry about the import's mess. It's my first contribution.
So, I tried to cancel the PR but I couldn't.

How can I procedure now ?

Thanks

@rsousaj
Welcome and thank you for your contribution!

Are you able to edit the file from your branch?

If so you can continue to make changes and then git commit and git push again. This PR will automatically reflect any additional change you make.

@vercel
Copy link

vercel bot commented Aug 17, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/hospitalrun/hospitalrun-frontend/j02dclron
✅ Preview: https://hospitalrun-frontend-git-fork-rsousaj-logintest.hospitalrun.vercel.app

@vercel vercel bot temporarily deployed to Preview August 17, 2020 12:02 Inactive
matteovivona
matteovivona previously approved these changes Aug 17, 2020
@rsousaj
Copy link
Contributor Author

rsousaj commented Aug 17, 2020

Hi guys, sorry about the import's mess. It's my first contribution.
So, I tried to cancel the PR but I couldn't.
How can I procedure now ?
Thanks

@rsousaj
Welcome and thank you for your contribution!

Are you able to edit the file from your branch?

If so you can continue to make changes and then git commit and git push again. This PR will automatically reflect any additional change you make.

Oh, that's awesome! I'll clean up my mess

@rsousaj
Copy link
Contributor Author

rsousaj commented Aug 17, 2020

I've tried to refactor the imports but look like I'm still messing around. The organized import is not being recognized as a change when I try to commit on git. I'm so sorry guys.

Maybe would be better if the PR being rejected and I try starting all over again

@morrme
Copy link
Member

morrme commented Aug 17, 2020

I've tried to refactor the imports but look like I'm still messing around. The organized import is not being recognized as a change when I try to commit on git. I'm so sorry guys.

Maybe would be better if the PR being rejected and I try starting all over again

Can you tell us what you're trying to accomplish, or send a screenshot of the changes as they appear for you locally?

Have you tried "staging" your changes (via git add) before committing?

@rsousaj
Copy link
Contributor Author

rsousaj commented Aug 17, 2020

I've tried to refactor the imports but look like I'm still messing around. The organized import is not being recognized as a change when I try to commit on git. I'm so sorry guys.
Maybe would be better if the PR being rejected and I try starting all over again

Can you tell us what you're trying to accomplish, or send a screenshot of the changes as they appear for you locally?

Have you tried "staging" your changes (via git add) before committing?

Oh, thank you so much. Really appreciate! Down below the screenshot after staging changes.

screenshot01

But after commit, it fails on "no-empty-commit" rule. Before, I need to admit that, I tried to cheat and also changed the Test Suite name but couldn't commit the right code.

@morrme
Copy link
Member

morrme commented Aug 17, 2020

@rsousaj Are you referring to the import order? This might be something that is changing based on the project standards.
It looks like your code has passed all of the checks, including those for import order, so you may be ok 👍🏾

@rsousaj
Copy link
Contributor Author

rsousaj commented Aug 17, 2020

@rsousaj Are you referring to the import order? This might be something that is changing based on the project standards.
It looks like your code has passed all of the checks, including those for import order, so you may be ok 👍🏾

Yes, I was. Once more, tks a lot. Really happy to contribute.

@morrme
Copy link
Member

morrme commented Aug 17, 2020

Yes, I was. Once more, tks a lot. Really happy to contribute.

We are happy to have you ! Feel free to join us in the Slack group as well: https://hospitalrun-slack.herokuapp.com/

@morrme morrme requested a review from jackcmeyer August 18, 2020 06:59
@vercel vercel bot temporarily deployed to Preview August 18, 2020 08:50 Inactive
@matteovivona matteovivona added the in progress indicates that issue/pull request is currently being worked on label Aug 30, 2020
@morrme
Copy link
Member

morrme commented Sep 14, 2020

@jackcmeyer Do you mind reviewing this one?

@jackcmeyer jackcmeyer merged commit 68cf76e into HospitalRun:master Sep 15, 2020
@jackcmeyer jackcmeyer added this to In progress in Version 2.0 via automation Sep 15, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
in progress indicates that issue/pull request is currently being worked on
Projects
Version 2.0
  
In progress
Development

Successfully merging this pull request may close these issues.

Improve test on Login.tsx
5 participants