You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature: V3 era Generators applied to HTTP parts
Scenario: Supports using a generator with the request path # compatibility-suite/pact-compatibility-suite/features/V3/http_generators.feature:3
Given a request configured with the following generators: # PhpPactTest\CompatibilitySuite\Context\V3\RequestGeneratorsContext::aRequestConfiguredWithTheFollowingGenerators()
| generators |
| JSON: { "path": { "type": "ProviderState", "expression": "/path/${id}" } } |
And the generator test mode is set as "Provider" # PhpPactTest\CompatibilitySuite\Context\V3\RequestGeneratorsContext::theGeneratorTestModeIsSetAs()
Verifying a pact between c and p
Interaction 1 (0s loading, 1s 113ms verification)
Request Failed - One or more of the setup state change handlers has failed
Failures:
1) Verifying a pact between c and p - Interaction 1 - One or more of the setup state change handlers has failed
There were 1 pact failures
When the request is prepared for use with a "providerState" context: # PhpPactTest\CompatibilitySuite\Context\V3\RequestGeneratorsContext::theRequestIsPreparedForUseWithAProviderStateContext()
| { "id": 1000 } |
Then the request "path" will be set as "/path/1000" # PhpPactTest\CompatibilitySuite\Context\V3\RequestGeneratorsContext::theRequestWillBeSetAs()
Warning: file_get_contents(compatibility-suite/tests/Constant/../../public/generators/path.txt): Failed to open stream: No such file or directory in compatibility-suite/tests/Service/GeneratorServer.php line 42
The text was updated successfully, but these errors were encountered:
tienvx
added
the
bug
Indicates an unexpected problem or unintended behavior
label
Sep 24, 2024
tienvx
changed the title
Compatibility Suite: Random fail on 'V3 era Generators applied to HTTP parts' feature
Compatibility Suite: Random fail on 'Supports using a generator with the request path' scenario
Oct 18, 2024
The text was updated successfully, but these errors were encountered: