-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue trying to import createEnvironment #8
Comments
The If you don't want to precompile the code, playwright comes with an (experimental) ESM loader that supports typescript. It requires that
If you set up playwright using If you want to keep precompiling your code, make sure the |
Thank you! |
I know this is not related to your library, but perhaps you have had experience with it?
|
I'm afraid I've never used |
@bgotink , thank you. I will figure it out.
|
Yeah that's a feature I've been thinking of switching from opt-out to opt-in… Set const config = {
use: {
channel: 'chrome',
headless: true,
enableAutomaticStabilization: false
},
// ...
}; |
I had been trying to do that for a while. Setting it on the playwright config for some reason didn't work. I had to set it on the spec file using:
|
Oh, thanks for letting me know. That should be fixed in @ngx-playwright/test version 0.2.8. |
Again, thank you so much for your project. I am now able to use all Angular Material component harnesses. I am still "waiting" for elements to be visible manually, since I couldn't get the stabilization thing figured out.
|
Thank you very much for this project! I am looking forward to being able to use Angular Material component test harnesses on my playwright e2e tests.
I am, however, getting the following error when importing the createEnvironment function from @ngx-playwright/test:
Here is a snippet of my code:
I have tried pre-compiling the test with tsc, but I get the same error during compilation. Any help will be appreciated!
The text was updated successfully, but these errors were encountered: