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

In the Pact json file the description could be same as test name #154

Open
2 tasks done
ppaliwalgp opened this issue Dec 20, 2023 · 1 comment
Open
2 tasks done
Labels
enhancement New feature or request

Comments

@ppaliwalgp
Copy link

ppaliwalgp commented Dec 20, 2023

Checklist

Before making a feature request, I have:

Feature description

The description in the generated Pact json file has value something like this '4624e592-115c-4bca-9bbe-f95a19b34854'. Same is displayed on Pactflow when the file is published. Instead if this could be a test name it would be helpful.

Use case

I presume that Pact file in Cypress doesn't display description this way. If the description has test name it would improve the readability of consumer tests in the Pactflow.

@ppaliwalgp ppaliwalgp added the enhancement New feature or request label Dec 20, 2023
@YOU54F
Copy link
Member

YOU54F commented Jan 15, 2024

it's set here

description: match.requestId,

feel free to propose a PR if you can pick up the test name. I'm not sure how feasible that is, as the name is defined within your testing framework, of which there can be many, and we don't know up front which the end-user is using.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants