-
Notifications
You must be signed in to change notification settings - Fork 378
Description
Feature Request
When we push to preprod, we would like to have the e2e bot asserting that everything is OK.
To start we could trigger our bot manually, so the checkup will be in conjunction with a human inspection.
We could as well trigger it from the CI: https://github.com/numerique-gouv/impress/blob/ce61ad5c44abce43cfad90e52f01da8e348dc103/.github/workflows/deploy.yml#L43-L52
But it is maybe a bit complicated because the preprod can take long time before it is totally deployed.
What To do
-
The e2e auth works for KeyCloak (dev login), you have to make it works with Agent Connect: https://github.com/numerique-gouv/impress/blob/ce61ad5c44abce43cfad90e52f01da8e348dc103/src/frontend/apps/e2e/__tests__/app-impress/auth.setup.ts#L5-L12
-
The e2e are setup on
localhost:3000
, find a way to start them on the preprod url: https://impress-preprod.beta.numerique.gouv.fr/ -
adapt to have all the test asserted with the new domain (of course the dev part should still work)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status