-
Notifications
You must be signed in to change notification settings - Fork 1
Auto Login When Token is Present #71
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
# Conflicts: # .travis.yml # src/api.py # src/jobs.py # src/login.py # src/uix/config.py # test/steps/step_api.py # test/test_api.py
…LUTO into sgomena/develop
# Conflicts: # .travis.yml # src/integrationtest/python/features/login.feature # src/integrationtest/python/steps/step_login.py # src/main.py # src/main/python/api.py # src/main/python/login.py # src/main/python/resources.py # src/uix/config.py # test/test_api.py
…a/develop # Conflicts: # src/main/python/app.py # src/main/python/jobs.py
logyball
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.
Scenario: Verify only email input hint # src/integrationtest/python/features/login.feature:21
When I spin up the application # src/integrationtest/python/steps/step_helpers.py:39 0.046s
And I open the login window # src/integrationtest/python/steps/step_login.py:13 0.000s
And I enter "test_user@test_email.com" in the username input box # src/integrationtest/python/steps/step_login.py:28 0.000s
And I click the login button # src/integrationtest/python/steps/step_login.py:48 0.001s
Then the login hint text should be "Please enter your password." # src/integrationtest/python/steps/step_login.py:55 0.000s
Assertion Failed: 'Please enter your email and password.' does not equal 'Please enter your password.'
Scenario: Verify only password input hint # src/integrationtest/python/features/login.feature:28
When I spin up the application # src/integrationtest/python/steps/step_helpers.py:39 0.051s
And I open the login window # src/integrationtest/python/steps/step_login.py:13 0.000s
And I enter "test_password" in the password input box # src/integrationtest/python/steps/step_login.py:28 0.000s
And I click the login button # src/integrationtest/python/steps/step_login.py:48 0.001s
Then the login hint text should be "Please enter your email." # src/integrationtest/python/steps/step_login.py:55 0.000s
Assertion Failed: 'Please enter your email and password.' does not equal 'Please enter your email.'
Scenario: Verify incorrect credentials hint # src/integrationtest/python/features/login.feature:35
When I spin up the application # src/integrationtest/python/steps/step_helpers.py:39 0.051s
And I open the login window # src/integrationtest/python/steps/step_login.py:13 0.000s
And I enter "test_user@test_email.com" in the username input box # src/integrationtest/python/steps/step_login.py:28 0.000s
And I enter "test_password" in the password input box # src/integrationtest/python/steps/step_login.py:28 0.000s
And I click the login button # src/integrationtest/python/steps/step_login.py:48 0.001s
Then the login hint text should be "The email or password you entered is not recognized." # src/integrationtest/python/steps/step_login.py:55 0.000s
Assertion Failed: 'Please enter your email and password.' does not equal 'The email or password you entered is not recognized.'
Scenario: Verify correct credentials hint # src/integrationtest/python/features/login.feature:43
When I spin up the application # src/integrationtest/python/steps/step_helpers.py:39 0.050s
And I open the login window # src/integrationtest/python/steps/step_login.py:13 0.000s
And I enter "samgomena@gmail.com" in the username input box # src/integrationtest/python/steps/step_login.py:28 0.000s
And I enter "password" in the password input box # src/integrationtest/python/steps/step_login.py:28 0.000s
And I click the login button # src/integrationtest/python/steps/step_login.py:48 0.001s
Then I should be able to log in to the application # src/integrationtest/python/steps/step_login.py:62 0.000s
Assertion Failed: '0' does not equal '1'
some issues locally with the behave tests but I think the fixes should be in the fbs_refactor branch
# Conflicts: # Pipfile.lock
|
is this ready for re-review? Can probably merge develop back into it and put it up for review again |
Alright, sorry for letting the file modification count balloon into the dozens but this should be ready to for another look over and I think the majority of the changes should be pretty straight forward! |
…xt; remove token on __exit__.
…rror on fallthrough.
…n window functionality.
logyball
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.
just one minor thing - removing the token from src
This PR add functionality for:
I realize this functionality isn't crucial but it was maddening to do any serious testing/development on the app and have to login every time.
Also, this already has Martin's changes incorporated so PR #67 should go in first!Note: This functionality requires a new version of the API to be running which will be deployed sometime within the next week.