Closed efattal closed 4 months ago
Seconded. We started writing tests for our app and it seems we can't hijack request url's like I expected, using the same methodology above.
This was "fixed" and then reverted 5 days later. Any plans to fix it @manucorporat ?
Ran into this today. Any update from the Ionic team?
I'm going to dig deeper into why this got reverted and report back to everyone.
@splitinfinities Any updates?
Hi [Issue Author] 👋
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 UI testing we recommend to use these tools as they provide much better capabilities and feature.
Please let me know if you have any questions!
Thank you for your understanding and support of StencilJS!
Stencil version:
I'm submitting a: [x] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://stencil-worldwide.herokuapp.com/ or https://forum.ionicframework.com/
Current behavior: Mocking networks requests with page.setRequestInterception(true) doesn't work anymore while it worked with @stencil/core 1.8.11.
Error:
Expected behavior: Should work as it used to.
Steps to reproduce: See this Github repo for a simple example. Switch to @stencil/core 1.8.11 and it will work.
Related code:
Other information: