dev-launchers / strapiv4

GNU General Public License v3.0
8 stars 2 forks source link

Applicant and Opportunity collections API coverage #212

Open zar92 opened 1 month ago

zar92 commented 1 month ago

To support the Dev Recruit team, we should test the APIs for the Applicant and Opportunity collections.

The typical flow is a team lead will create an opportunity for a project. Then people will apply for the opportunity. When the role is filled, the opportunity will be unpublished, but not deleted so it can be reused in the future.

To test this,

  1. We first need to make sure there is a project because an opportunity references a project.
  2. Then we need to test create, get, list and update opportunity APIs.
  3. Finally, we need to test create and get applicants.

Acceptance Criteria

Scenario: Testing Applications API coverage

dbradham commented 2 days ago

@nikita-pardeshi-github do you have steps to test this in staging? If so, can you explain here how someone would test it in staging?

dbradham commented 2 days ago

Image

https://github.com/dev-launchers/strapiv4/pull/211

Opportunity PR, linked above, has 100% coverage on the PR for this change.