Skip to content
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

test: add selected payment type for ramps sell e2e #12951

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
9 changes: 6 additions & 3 deletions e2e/specs/ramps/deeplink-to-sell-flow.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ describe(SmokeRamps('Sell Crypto Deeplinks'), () => {
jest.setTimeout(150000);
});
it('should deep link to offramp ETH', async () => {
const sellDeepLinkURL =
'metamask://sell?chainId=1&address=0x0000000000000000000000000000000000000000&amount=50';
const sellDeepLinkURL = 'metamask://sell?chainId=1&amount=50';
const franceRegion = {
currencies: ['/currencies/fiat/eur'],
emoji: '🇫🇷',
Expand All @@ -41,6 +40,7 @@ describe(SmokeRamps('Sell Crypto Deeplinks'), () => {
{
fixture: new FixtureBuilder()
.withRampsSelectedRegion(franceRegion)
.withRampsSelectedPaymentMethod()
.build(),
restartDevice: true,
},
Expand All @@ -66,7 +66,10 @@ describe(SmokeRamps('Sell Crypto Deeplinks'), () => {

await withFixtures(
{
fixture: new FixtureBuilder().withRampsSelectedRegion().build(),
fixture: new FixtureBuilder()
.withRampsSelectedRegion()
.withRampsSelectedPaymentMethod()
.build(),
restartDevice: true,
},
async () => {
Expand Down
Loading