We need to create API tests for this endpoint, to get an opportunity to cover our current and future tasks with such kind of test.
- Mock data, for instance, is created;
- In Setup step - put the instance type to the inventory storage;
- In Setup step - put the instance to the inventory storage;
- Write API test for data-export/export endpoint and for getting job execution and verify that export is successful with this instance;
- In the clean up step - remove the instance type from inventory storage;
- In the clean up step - remove the instance from inventory storage.