Hello, I have a question regardingn the UI and res...
# pactflow
a
Hello, I have a question regardingn the UI and results display. Although the contracts are compatible, in the “overview” tab it still shows as “unknown.” Any idea why ?
c
Hi Aurelia Have you uploaded a verification for your provider? You can check in the provider contract tab
a
Yes, this is what I have in the provider tab
c
This section shows that it's unverified, you'll need to upload a verification result that indicates your oas contract is implemented by the API. https://docs.pactflow.io/docs/bi-directional-contract-testing/provider/
☝️ 1
m
Yep, looks like You're missing the self verification results
a
ok, indeed that step is currently missing, thanks for the prompt answer 🙂
👍 1
I struggle finding concrete example of this verification. In my case, the OAS is generated automatically, thus I’d like to skip the verification and always publish a successful result for the verification step. I found an example here : https://www.ontestautomation.com/an-introduction-to-contract-testing-part-6-bi-directional-contracts/, but I don’t know what structure should the verficationResults.content field have. Can someone help me on this ?
m
Just put something in there to indicate how you came to the conclusion it was safe
it’s just an arbitrary field - I’d suggest “automatically generated by <tool>”
👍 1
n
When I wanted my provider contract to be verified just for a PoC stage I simply made a json file that was basically empty with only
{}
and pointed to it as my verification file.
That seemed to work for me.
👍 2
a
Yes this works as well