Umuzi-org / Tilde

Open source agile, collaborative learning platform.
52 stars 34 forks source link

Playwrite #675

Closed sheenarbw closed 9 months ago

sheenarbw commented 9 months ago

https://umuzi-projects.monday.com/boards/1274815998/views/8706407/pulses/1301300814?term=play&termColumns=XQAAAAJjAAAAAAAAAABBKoIjIeD0YmYK96-o--UWp5b9RHM9CcSXQWhZ4AgIDf2pQIJGWlPPLNMzar0b643R3wIenOnoNzWYz8atjCxHldD5SzHCsPgKtBW8RwQjdP_1940A

Description:

Implemented POC frontend test using Playwright.

To get this to run you'll need to

pip install playwright
playwright install # this installs browser things

Then to run the poc test:

python manage.py test frontend.tests.test_page_users_and_teams_nav.TestPage

This test launches a browser, logs in as a superuser, then makes sure that the superuser can see all the teams that exist.

I solemnly swear that: