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
[V3] pact matchers on namespaced xml elments fail on provider test #632
Comments
@dpakach please retest with beta36 and close if the issue is solved |
@individual-it the issue is not fixed yet, the tests doesn't catch it because the interaction names are same in following tests To reproduce the issue, change L105 in the file to
|
I think we have multiple issues here:
|
this notation works this is also the notation pact-reference uses e.g.: https://github.com/pact-foundation/pact-reference/blob/ebb11df0da1e8424fc5853b953b724ffb0e87e48/rust/pact_matching/src/xml.rs#L1020 |
I think the namespaces are not taken in account at all Line 55 in 34cf2f5
but its not used and when called it set to an empty hashmap Line 25 in 34cf2f5
|
more debugging: |
Software versions
Please provide at least OS and version of pact-js
Issue Checklist
Please confirm the following:
Expected behaviour
Matchers on namespaced xml should work
eg.
when the server handler is
Actual behaviour
The provider test fail with this error
Steps to reproduce
See the bug reproduced in dpakach#2
Test on https://github.com/dpakach/pact-js/pull/2/files#diff-656f935c93a4d4ea910cb4961f3463c434eb6ea7cbe8d51e2c7b0b3fd4c5ae0cR68
The text was updated successfully, but these errors were encountered: