_oh.test.tsx 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. import { describe, it, test } from "vitest";
  2. describe("frontend/routes/_oh", () => {
  3. describe("brand logo", () => {
  4. it.todo("should not do anything if the user is in the main screen");
  5. it.todo(
  6. "should be clickable and redirect to the main screen if the user is not in the main screen",
  7. );
  8. });
  9. describe("user menu", () => {
  10. it.todo("should open the user menu when clicked");
  11. describe("logged out", () => {
  12. it.todo("should display a placeholder");
  13. test.todo("the logout option in the user menu should be disabled");
  14. });
  15. describe("logged in", () => {
  16. it.todo("should display the user's avatar");
  17. it.todo("should log the user out when the logout option is clicked");
  18. });
  19. });
  20. describe("config", () => {
  21. it.todo("should open the config modal when clicked");
  22. it.todo(
  23. "should not save the config and close the config modal when the close button is clicked",
  24. );
  25. it.todo(
  26. "should save the config when the save button is clicked and close the modal",
  27. );
  28. it.todo("should warn the user about saving the config when in /app");
  29. });
  30. });