forked from EphecLLN/Dev-Web-2023
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Login functionality e2e tests #17
Open
Correba
wants to merge
88
commits into
EphecLLN:main
Choose a base branch
from
Insanytil:e2e
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit initial files structure
i had a nav bar on main page and i update css, now we have materialize.css who is a default css and i add a personnal scss
update CSS + dev main page
Creation of login route using jwt tokens and cookies Setup of a soft shutdown of the server in the app.go file
Creation of middleware that checks for a token in the http request and validates it
# Conflicts: # local_eat/web/src/app/app.module.ts
adding signup
Nav bar invité
Replace transitory database structure for the registration management by another more complete which is made up the management of the user accounts, producer accounts and company accounts
adding catchphrase component
- registerProducer looking for a cookie that didn't exist now fixed - Error in converting a string pointer to string in registerProducer - Unnecessary CORS config in auth middleware removed - Correction of doc to correspond with corrections - Added check if username already in produceurs table before creating it - Various model's json description not corresponding with model attributes now fixed (JSON marshall works properly now)
- Products component to display the product list - Api route to fetch the product list from the database - Products service to emit an http request to the api - Basic loading icon on while the web page fetches the products (to be replaced later) - Database alteration to include product's image path
Displaying and fetching products #17
- models.Users image id default value changed from 'unknow' to null - doc host erased to be dynamically set by swagger so that it can be used in prod and in dev environments. Routes path changed to match that change.
- Test made for every http return code implemented - /ping tested - /auth/* tested
- Improving signup and login form validation be able to unit test those two components - Unit test for signup component
Angular signup / login unit test
The correction only allows the components creation tests to pass, it's not a complete and thourough test of each of those components
- Cypress basic configuration - Login functionality e2e test
He202120
pushed a commit
to He202120/Dev-III-Group-2TL1-7
that referenced
this pull request
May 25, 2024
V1 - Added basic API Documentation with Swagger.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.