Test data
Summary
- In
tests/db-utils.ts, create a new utility calledcreateNotes. Why. - Complete the test at
tests/e2e/notes-list.test.ts. Use the newcreateNotesutility to seed some notes for the tested user as a part of the test setup. - Visit the page that lists all the user's notes.
- Assert that all the notes are visible. Accessibility!
npm run test:e2e.