The branch archive/api-mock-implementation-with-wiremock
is an archive of main at the point when FIAT was using the Academies API (before moving to directly connect to the Academies db).
We removed the connection to the Academies API to temporarily directly connect to the Academies database but as we intend to reconnect FIAT to other APIs in the future we didn't want to lose all the good work we put into mocking APIs for the UI tests.
- Docker compose for ci - This stands up the wiremock container and enables the application under test to communicate with it
- wiremock-captain in package.json - used to allow the wiremock container to be configured via TypeScript
- Mock setup coordinator and actual mock setup code in Playwright
- Code docs - describes how to get the UI and a11y tests working