-
Notifications
You must be signed in to change notification settings - Fork 489
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
Cannot find module 'artillery-engine-processor' #2570
Comments
Hello @poponuts 👋
|
Thanks for swift response. Sorry for the ignorance but I’m a bit confused on this as I just installed artillery globally as per instructions. Then on my project’s root directory, I run artillery via the yaml file. |
No problem @poponuts ! Just to confirm, this is what your YAML file should look like: config:
target: https://www.artillery.io
processor: './tests/load/helloWorld.spec.ts'
engines:
playwright: {}
scenarios:
- engine: playwright
testFunction: 'helloFlow' And the .ts processor file you point to: import { type Page } from '@playwright/test';
export async function helloFlow(page: Page) {
await page.goto('https://www.artillery.io/');
} Let me know if that works for you! |
Version info:
I have multiple node versions but currently points to
v19.9.0
Installed artillery globally too.
Running this command:
artillery run hello-world.yml
I expected to see this happen:
There shouldn't be any errors
Instead, this happened:
I get the error:
Files being used:
The text was updated successfully, but these errors were encountered: