This repo includes test scripts for Openstax Tutor.
Go to Openstax Testrail for corresponding test cases
All corresponding test cases are also available on Trello
Go to this repo and follow the steps in README.md to set up a virutal environment
Activate the virtual environment created in the previous step
Open terminal window and navigate to the repo folder
LOCALRUN=true TEACHER_USER=example TEACHER_PASSWORD=example SERVER_URL="tutor-qa.openstax.org" python -m pytest -v test_file_name
If there are too many assignments created on a teacher's calendar and you are too lazy to delete them one by one, run clean_up_calendar.py and select the type of assignment you delete.
Run it in the command window as
LOCALRUN=true TEACHER_USER=example TEACHER_PASSWORD=example SERVER_URL="tutor-qa.openstax.org" python clean_up_calendar.py