Replies: 2 comments 1 reply
-
hi @dmelo7 👋
Yep that's right. The
Yes correct. Artillery's integration is focused on using Playwright as a library, it's not fully compatible with the Playwright Test Runner. You can use functions like |
Beta Was this translation helpful? Give feedback.
-
Any suggestions? |
Beta Was this translation helpful? Give feedback.
-
Hi everyone I recently discovered Artillery and looks like a really good solution for the project I am working for. We have an extensive playwright testing solution and we want start adding some load testing too. For Artillery to be the best solution we want to be able to reuse our code, so stick with TS and re utilize the page object.
On the docs, it mentions the usage of
test.step
but on typescript I can not type this correctly. Page comes from playwright but where does test come from? How to type this?By the way,
test
from artillery andtest
from playwright are not the same right? On artillery processors the only function I can use is.step
? I was wondering if we could reuse our fixtures too but it's not clear and I failed all the attempts! Can't call the playwrighttest
inside the processors.Thanks all :)
Edit:
Add doc reference:
https://www.artillery.io/docs/reference/engines/playwright#teststep-argument
Exemple code:
Beta Was this translation helpful? Give feedback.
All reactions