You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After multiple problems with e2e tests not working as expected, we traced the problem to an error while building our angular demo project. This tries to share the version of @angular/core and @angular/forms with the one provided in @synergy-design-system/angular. This leads to problems with the angular compiler, as the versions may differ. In this case (e.g. when @synergy-design-system/angular has a different version of one of this packages, the local module resolution of angulars build system does not work anymore. However, the server itself is still starting up. This leads to the problem that selectors created via Playwright will never run in a timeout, making the tests stay in sort of a limbo between death and live.
This is NOT a problem that users may likely face in the wild, as it is caused by the dedupe mechanism used in pnpm and the usage of a monorepo that locally links the packages together.
Rationale
We have to make sure updates of peerDependencies do not cause problems with the build of the demo to make tests less flaky.
The text was updated successfully, but these errors were encountered:
During development of #508, we noticed that this is also happening in our react vite builds. However, in this case, only production builds seem to have the problem. This may be some internal problem when using esbuild.
Description
After multiple problems with e2e tests not working as expected, we traced the problem to an error while building our angular demo project. This tries to share the version of
@angular/core
and@angular/forms
with the one provided in@synergy-design-system/angular
. This leads to problems with the angular compiler, as the versions may differ. In this case (e.g. when@synergy-design-system/angular
has a different version of one of this packages, the local module resolution of angulars build system does not work anymore. However, the server itself is still starting up. This leads to the problem that selectors created via Playwright will never run in a timeout, making the tests stay in sort of a limbo between death and live.Rationale
We have to make sure updates of
peerDependencies
do not cause problems with the build of the demo to make tests less flaky.The text was updated successfully, but these errors were encountered: