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
{{ message }}
Repository navigation
feat: Allow to pass custom options to Puppeteer screenshot function #3145
A resize event happen just before screenshot so it trigger some resize event listener able to redraw the component we try to screenshot.
This resize is unwanted but, with the current stencil testing API, we are not able to avoid it by the solution proposed in the issue: pass the option captureBeyondViewport: false
Reacted by Luis Perrone, David MARTIN, Mindy Tanasie, Yvain Liechti, jackdriscollukg, Andre Barrientos, GoOz and Boris Diakur
We apologize for the delay in addressing this issue. The StencilJS team has been hard at work, and we appreciate your patience.
As StencilJS has undergone significant updates and improvements since this issue was originally posted, we are now supporting more frameworks to test Stencil components, e.g. WebdriverIO or Playwright. For visual screenshot testing we recommend to use their visual capabilities as we are about to deprecate Stencils screenshot feature.
Please let me know if you have any questions!
Thank you for your understanding and support of StencilJS!
Activity
Perronef5 commentedon Nov 18, 2021
We need this fix urgently 🙏🙏
ryuran commentedon Jan 7, 2022
We use this monkey patch to temporary workaround this issue waiting for an internal fix into stencil:
#3188 (comment)
christian-bromann commentedon Jun 12, 2024
Hi @ryuran 👋
We apologize for the delay in addressing this issue. The StencilJS team has been hard at work, and we appreciate your patience.
As StencilJS has undergone significant updates and improvements since this issue was originally posted, we are now supporting more frameworks to test Stencil components, e.g. WebdriverIO or Playwright. For visual screenshot testing we recommend to use their visual capabilities as we are about to deprecate Stencils screenshot feature.
Please let me know if you have any questions!
Thank you for your understanding and support of StencilJS!