webdevcody / code-racer

https://code-racer-eight.vercel.app
MIT License
694 stars 499 forks source link

Test Implementation and Basic User Creation Script #749

Open ParadigmMango2 opened 4 months ago

ParadigmMango2 commented 4 months ago

[Issue #562 and Issue #747] | Implement metadata tests, login page navigation test, and a create test user script

Discord Username: @paradigmmango

What type of PR is this? (select all that apply)

Description

This code partially addresses the unfinished tests by implementing a couple of short tests, specifically page metadata and navigating to the GitHub login. Unfortunately, every other test requires user authentication. To do so, I have tried many things and have failed. My most successful attempt so far has been to create a local testing user and authenticate with that for testing. Unfortunately, I have only managed to get the user creation script to work.

Related Tickets & Documents

QA Instructions, Screenshots, Recordings

This code was tested on a Linux laptop and cypress was run in the Firefox web browser.

UI accessibility concerns?

None.

Added/updated tests?

[optional] Are there any post deployment tasks we need to perform?

No.

[optional] What gif best describes this PR or how it makes you feel?