More cypress tests
written by @Sporiff
A few more examples:
Ensure profile menu displays correctly
Authenticated
- Log in
- Expect the user profile menu to show a circle icon with "t"
Unauthenticated
- Expect the profile menu to show a cog icon
Ensure admin panels are not accessible to unauthenticated users
- Navigate to any
/manage
view - Expect to be redirected to
/library
Ensure all relevant sidebar items are loaded when logged in/unauthenticated
Authenticated
- Log in
- Expect the sidebar to show the "My Library" section
Unauthenticated
- Expect the sidebar to not show the "My Library" section
Test use of modals at smaller responsive sizes (e.g. user modals, track modals)
Desktop
- Select a track popover
- Expect a dropdown menu of options to appear
Mobile
- Select a track popover
- Expect a modal of options to appear