Closed thomaswinkler closed 5 months ago
Re 5) This issue is related to setting C8Y_PACT_MODE
to mock
in global before()
of the test suite. If isEnabled()
is called before the globale before()
, the mode()
will resolve to disabled
. In the reported case this caused recordings to being loaded so mocking failed.
Fix is already available as of 6).
There have been reports on less critical issues re: setup and configuration of c8ypact.
cy.mount
does not useignore
config value. It should also completely disable c8ypact ifmode
is set todisabled
.strictMocking
should state it is throwing an error instead of responding with 404.strictMocking
andstrictMatching
config values are not always usedgetConfigValue
is broken and is not reading fromCypress.config().c8ypact
recordingMode
new
has been reported to not work for component tests