-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Using Angular CLI to Add WebdriverIO Results in Error and Can't Run Tests #266
Comments
Fwiw, I was able to solve "Unexpected token 'export'" issue by installing @wdio/cli . However, I was hoping the @wdio/schematics would have done that. The above issue exists on Angular 15 too. |
Even when I manually update angular.json and attempt to run If it helps, I'm using Typescript and I have my project type set to "module" (ESM). I don't want to deviate from this because I like the typings I get in the wdio config file. |
Same here, out of the box, accepting all defaults on |
Also exists on Angular 16. I had to do a few things.
Now it runs. I get a |
According to webdriverio/create-wdio#306 you can set |
Under Angular 14.1, I ran ng e2e and went through the prompts to install the schematics for WebdriverIO. But at the end, I had an error:
This was on an Angular 14 app without any real implementation (basically, just what the CLI creates for a new app). I created another new app and tried again, with the same result.
When I actually try to run the app using npx wdio run test/wdio.conf.ts, I get the following:
Steps to reproduce:
The text was updated successfully, but these errors were encountered: