Skip to content

Login functionality e2e tests#17

Open
Correba wants to merge 88 commits into
EphecLLN:mainfrom
Insanytil:e2e
Open

Login functionality e2e tests#17
Correba wants to merge 88 commits into
EphecLLN:mainfrom
Insanytil:e2e

Conversation

@Correba
Copy link
Copy Markdown

@Correba Correba commented May 20, 2024

No description provided.

Sebiche09 and others added 30 commits February 20, 2024 06:28
commit initial files structure
i add some code of main page, i work on component
add in tsconfig.json of strictPropertyInitialisation to false for a better typescript
title changing on root app
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
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
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
Correba and others added 29 commits April 30, 2024 18:06
- 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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants