-
Notifications
You must be signed in to change notification settings - Fork 5.3k
feat: Implement redesigned send flow feature flag #35801
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1006,6 +1006,22 @@ async function setupMocking( | |
}; | ||
}); | ||
|
||
await server | ||
.forGet('https://client-config.api.cx.metamask.io/v1/flags') | ||
.thenCallback(() => { | ||
return { | ||
ok: true, | ||
statusCode: 200, | ||
json: [ | ||
{ | ||
sendRedesign: { | ||
enabled: false, | ||
}, | ||
}, | ||
], | ||
}; | ||
}); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Bug: Mock Conflicts Cause Unpredictable Test ResultsThere are now two conflicting mocks for the feature flags endpoint ( There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this is not an issue if e2e tests passes - will wait and see |
||
|
||
// On Ramp Content | ||
const ON_RAMP_CONTENT = fs.readFileSync(ON_RAMP_CONTENT_PATH); | ||
await server | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sendRedesign
feature flag is currently used like a kill-switch. As we don't have redesigned send flow e2e tests for now, we want to disable the flow for all tests.