[Testing:System] Update Cypress Access Check (#6695)
[Testing:System] Update Cypress Access Check (#6695)

* Add automatic semester function

* Fix linting

* Change equal to contains and remove function

* Remove unnecessary import

Co-authored-by: Chris Reed <aab780deaa45ed0af851c804a13faef6b70737e7@users.noreply.github.com>
RCOS-Grading-Server/HWserver,Submitty/Submitty,RCOS-Grading-Server/HWserver,Submitty/Submitty,Submitty/Submitty,Submitty/Submitty,RCOS-Grading-Server/HWserver,RCOS-Grading-Server/HWserver,Submitty/Submitty,Submitty/Submitty,RCOS-Grading-Server/HWserver,RCOS-Grading-Server/HWserver,RCOS-Grading-Server/HWserver,Submitty/Submitty,Submitty/Submitty,RCOS-Grading-Server/HWserver,Submitty/Submitty,RCOS-Grading-Server/HWserver