Open RHowe22 opened 5 years ago
To test the functionality of the user login methods run the python file called login_test.py which is in the test sub directory. This will redirect the user to the user authentication page and verify that upon submitting their valid Spotify information and agreeing to allow mooduse access, the tester should then copy the url from the redirected page to the terminal. The script will then output the users information, their top artists and tracks, and that the user will be able to logout and log back in to receive a new access token. If the user does not agree to allowing access the application or the user enters in a invalid url the test should terminate due to a NoTokenError.
Create a login page where it allows users to enter their credentials to allow the application to connect with their Spotify account