-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
ci(cypress): do not overwrite metadata during mca update call #7622
Conversation
how does this change actually fixes things? when creating the mca, auth is read that includes metadata. and you're passing it. unless the update call nullifies the metadata that is passed in the create call, update call shouldn't fail at all. i can see that we're overwriting the metadata while making the update call. try removing the metadata object from |
Yup, right. My bad, didn't even think that it may be because of the fixtures, making changes. |
…entication metadata" This reverts commit bcc4808.
Type of Change
Description
The Connector Update Body is being overwritten, which included the metadata as well. Due to this, if there were any required metadata fields of a connector, then the Connector Update Test would fail.
For example,

Braintree
connector has a required metadata field, and while testing the Connector Update, just because it was being overwritten by theupdate-connector-body.json
fixture, the test fails as shown in the following screenshot.Additional Changes
Motivation and Context
While adding the Card test Flows for the
Braintree
connector, the Connector Update Test Failed.How did you test it?
Running the
0000-CoreFlows.cy.js
forBraintree
connectorChecklist
cargo +nightly fmt --all
cargo clippy