Skip to content
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

feat: define Artillery + Playwright tests fully in TypeScript #3436

Merged
merged 9 commits into from
Dec 17, 2024

Conversation

hassy
Copy link
Member

@hassy hassy commented Dec 13, 2024

Description

This PR adds support for defining Artillery + Playwright load tests entirely in TypeScript:

  • config and scenario sections map exactly onto their YAML equivalents
  • config.processor is no longer needed - test functions can be defined inline (or imported from another existing module)

Known limitations & issues:

  • CLI flags that dynamically override anything in the test definition (e.g. --solo or --overrides) are not taken into account yet

  • Type definitions need to be added

  • Cloud bundler is not aware of TypeScript yet - won't run on Fargate / ACI yet

  • Also missing e2e tests.

Pre-merge checklist

This is for use by the Artillery team. Please leave this in if you're contributing to Artillery.

  • Does this require an update to the docs? Yes
  • Does this require a changelog entry? Yes

@hassy hassy changed the title Feat/playwright tests as code feat: define Artillery + Playwright tests fully in TypeScript Dec 13, 2024
@hassy hassy force-pushed the feat/playwright-tests-as-code branch from 570e184 to 32e97eb Compare December 16, 2024 14:40
@hassy hassy force-pushed the feat/playwright-tests-as-code branch from 32e97eb to c1b7e64 Compare December 16, 2024 16:03
@hassy hassy marked this pull request as ready for review December 17, 2024 13:38
@hassy hassy merged commit 6faa5cb into main Dec 17, 2024
60 checks passed
@hassy hassy deleted the feat/playwright-tests-as-code branch December 17, 2024 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant