Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧪 Test: Add Unit and e2e Tests to Header Component #239

Open
2 tasks
sonylomo opened this issue Aug 13, 2024 · 4 comments
Open
2 tasks

🧪 Test: Add Unit and e2e Tests to Header Component #239

sonylomo opened this issue Aug 13, 2024 · 4 comments

Comments

@sonylomo
Copy link
Collaborator

sonylomo commented Aug 13, 2024

Description

At SYT, we're a squad of hardcore open-source warriors who devour unit tests for breakfast, swim laps in pools of bugs, and laugh in the face of linting errors. Like the code ninjas we are, it's time to sharpen our katanas (read: keyboards) and add tests to our components. 🚀

This is your golden opportunity to learn, make glorious mistakes, and still live to commit another day (with minimal shame). 🙈

Here are the tools being used:

  • Vitest for Unit tests
  • PlayWright for e2e tests

Tasks

  • Add Unit and e2e tests to the tests folder, following the file structure of the example files
  • Write tests for src/components/Header.jsx component

We salute you

⛑️ Remember: Not all Heroes wear capes

Good Luck 🍀

@sonylomo sonylomo changed the title 🧪 Test: Header Component 🧪 Test: Add Unit and e2e Tests to Header Component Aug 13, 2024
@sonylomo sonylomo changed the title 🧪 Test: Add Unit and e2e Tests to Header Component 🧪 Test: Add Unit and e2e Tests to Header Component Aug 13, 2024
@claireoe
Copy link

@sonylomo I can write the Playwright e2e tests. Please assign one of the tasks to me

@sonylomo
Copy link
Collaborator Author

This issue is all yours. 💃🏾

If you get stuck, please feel free to tag me 🙂. However, I know you're a pro, so this issue is child's play for you. 💅🏾 😂

@claireoe
Copy link

Great thanks!

@claireoe
Copy link

claireoe commented Sep 3, 2024

The home page isnt working when I load it locally
Screenshot 2024-09-03 145537
Screenshot 2024-09-03 150133

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants