Guides
Synthetic Data
Generate fake data for your tests
1. Faker inside of steps
Faker library is pre-installed and is available for calling inside of js snippets. This approach is good when you need to generate data during execution of a test.
2. Use fixtures to create data before tests
Fixtures are great for inserting data into database before tests are started, and cleaning up after tests are finished.
src/data-helpers/user.ts
fixtures.ts