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

fix(types): implies default "http" engine, fixes request "cookies" and "match" #2054

Merged
merged 15 commits into from
Aug 21, 2023

Conversation

kettanaito
Copy link
Contributor

@@ -286,7 +286,7 @@ export type Scenario = {
/**
* @title HTTP engine
*/
engine: 'http';
engine?: 'http';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm still surprised this worked 🤔 We need to test this carefully but so far automated tests confirm the intention as valid.

@kettanaito
Copy link
Contributor Author

This needs #2055 to be merged first because per schema, flow is not allowed on Playwright scenarios.

Copy link
Contributor

@bernardobridge bernardobridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A couple of small changes in the expect plugin, since you've typed that already.


Also, I released this last week:
938f9c4

Which means that now http defaults in config can be configured as config.http.defaults. Doesn't have to be addressed in this PR, but it might be something to add to the schema too. Docs for it are already here: https://www.artillery.io/docs/reference/engines/http#default-configuration

packages/types/plugins/expect.ts Show resolved Hide resolved
packages/types/plugins/expect.ts Outdated Show resolved Hide resolved
@kettanaito
Copy link
Contributor Author

Hi, @bernardobridge. I've addressed the last two points, could you please take a look at this once more? Thank you.

@kettanaito
Copy link
Contributor Author

Encountered problematic tests, addressing in #2071

@kettanaito kettanaito merged commit d1b2e78 into main Aug 21, 2023
9 checks passed
@kettanaito kettanaito deleted the fix/types-compliance-2 branch August 21, 2023 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants