We have recently introduced integration testing suite on the server graphql API. See: packages/twenty-server/test/companies.integration-spec.ts
We have 1 suite per standard object (company, person, note, ...) currently.
Right now, each of these testing suites are containing only 1 test testing the findManyRecords query.
What
We would like to create test suites for the REST API find many endpoints. Create one test within each test suite testing the findMany endpoints. See here for API documentation: https://twenty.com/developers/rest-api/core#/
Scope & Context
We have recently introduced integration testing suite on the server graphql API. See:
packages/twenty-server/test/companies.integration-spec.ts
We have 1 suite per standard object (company, person, note, ...) currently.
Right now, each of these testing suites are containing only 1 test testing the findManyRecords query.
What
We would like to create test suites for the REST API find many endpoints. Create one test within each test suite testing the findMany endpoints. See here for API documentation: https://twenty.com/developers/rest-api/core#/