Skip to content

Salem-1/Transcendence

Repository files navigation

Transcendence

New subject changes

Flowchart Parts

this is simple guide to test the project

Full Flowchart

%%{init: {'theme': 'default', "flowchart" : { "curve" : "catmullRom" } } }%%
flowchart TD
	
	classDef start fill:#00ff80
	
	subgraph login
		in(Login):::start --> Auth{Authenticate}

		Auth -- yes --> FA[2FA]
		Auth -- No --> in
		FA --> is2F{2FA Auth}
		is2F -- No --> FA
	end
	is2F -- Yes --> Main
	
	subgraph Main
		dash((Dashboard)):::start

		dash --> gbtn["`**play**`"]
		dash --> chat[Chat]
		dash --> profileCorner[profile button]


		profileCorner --> profilePage[Profile]
		profileCorner --> set[Settings]
		profileCorner --> out[Logout]
	end
		out  --> login
	

Loading

How to run testers?

This the test file for django server endpoints

python srcs/tester/test_endpoints.py   

Run test cases for functions inside db app (related to authentication and authorization)

python srcs/backend/manage.py test db  /

Run test cases related to frontend, where the selenium library will act as human user

node srcs/tester seleniumTest.js . 

<<<<<<< HEAD

master

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 5