Dynamic Tests From Cypress Fixture

1 ยท Gleb Bahmutov ยท Sept. 27, 2021, 4:09 p.m.
Often, you need to run the same test with different data. For example, one might want to test how the backend API handles creating an item for multiple items with different parameters. We could write a separate test for each item.๐Ÿ”Ž You can find the source code for this blog post in bahmutov/todo-graphql-example repo.Hard-coded data12345678910111213141516171819202122232425262728293031323334describe('Creates each item', () => { it('creates 1', () => { cy.request({ body: { title: 'u...