Dj-Viking / Nomad-Lang

Language Learning app experiment using Vue3 + TypeScript with Typegoose REST backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FE [tests]: write tests with flagpole or jest for front end coverage

Dj-Viking opened this issue · comments

4/17/2022 update

  • this is very complicated to set up with cypress which is probably what I want to go with. will have to reference the CI webcast talk on this page of cypress docs.

  • However, the snapshot testing will never work since the CI runners are going to be a different operating system with different color spacing than the macOS that I am running the tests and taking snapshots with my local machine. the pixel diff will 100% of the time be different between my mac and the linux CI. I also don't know how to view the diffs within the CI unless there is a place the CI dumps it's directory for me to view the pictures.

  • For now will just merge back in the cypress tests and the additional tests for the sidebar and theme changing. Will open a separate issue for setting up the CI/CD, not sure what to do about the snapshot testing inside the CI. possibly have to set up the CI with the operating system that I was using to develop the app for the snaphsot testing macOS Catalina 10.15.7.


  • App view rendering
    • Home Page
    • Navigation to
      • Login
      • Signup
      • ForgotPassword
      • ChangePassword
  • theme change
  • add card
  • edit card
  • clear cards
  • delete card
  • side bar opening/closing
  • sidebar categories rendering
  • sidebar search function