-
Notifications
You must be signed in to change notification settings - Fork 350
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
[QAA-383] Swap tests - Entry points #8737
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ 4 Skipped Deployments
|
c662d37
to
b23c367
Compare
b23c367
to
ffab795
Compare
|
||
test.describe("Swap flow from different entry point", () => { | ||
test.beforeAll(async () => { | ||
process.env.SWAP_DISABLE_APPS_INSTALL = "true"; |
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.
I'm not sure whether we need all these envs if in your tests you don't do actual swap flow
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.
I think SWAP_DISABLE_APPS_INSTALL
and SWAP_API_BASE
are mandatory to target the correct version of the live app.
Do you confirm @bharamboure-ledger ?
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.
yep, I think you can remove the broadcasting var
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.
SWAP_DISABLE_APPS_INSTALL
is actually to prevent apps version check and rely on those we considered app candidates
(prod versions) for speculos
SWAP_API_BASE
is to target correct firebase env with proper flags
edit: to me they're both required
75fdbd5
to
9bef36a
Compare
9bef36a
to
38b2a6e
Compare
β Checklist
npx changeset
was attached.π Description
Adding new Swap scenarios:
β Context
π§ Checklist for the PR Reviewers