The tests in the CI/CD pipeline are set to run on each push and pull request on the relevant branches. This is often redundant and makes it much slower to integrate new changes. Instead the tests should only be ran when they are actually necessary.
I previously tried to optimize the execution time of the tests without much sucsess, beacuse it is not currently possible to cache the system deps needed by playwright. A possible solution is to run the tests within a docker container which would circumvent having to redownload the system deps each time.
The tests in the CI/CD pipeline are set to run on each push and pull request on the relevant branches. This is often redundant and makes it much slower to integrate new changes. Instead the tests should only be ran when they are actually necessary.
I previously tried to optimize the execution time of the tests without much sucsess, beacuse it is not currently possible to cache the system deps needed by playwright. A possible solution is to run the tests within a docker container which would circumvent having to redownload the system deps each time.