Skip to content

Commit

Permalink
making ALL deeplinks test work by avoiding cold start (for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwieja committed Oct 13, 2023
1 parent 28ce858 commit 40d1396
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions e2e/deeplinks.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,28 +119,36 @@ describe('Deeplinks spec', () => {
await testEthereumDeeplink(url, false);
});

it.skip('should be able to handle ethereum payments urls for DAI (mainnet)', async () => {
// FIXME: when doing open deeplinks with cold start, the account assets state
// comes back empty, find a fix and then change these tests to cold-start again
it('should be able to handle ethereum payments urls for DAI (mainnet)', async () => {
const url = escapeUrl(
'ethereum:0x6b175474e89094c44da98b954eedeac495271d0f@1/transfer?address=brunobarbieri.eth&uint256=1e18'
);
await testEthereumDeeplink(url);
await testEthereumDeeplink(url, false);
});

it.skip('should be able to handle ethereum payments urls for ETH (arbitrum)', async () => {
// FIXME: when doing open deeplinks with cold start, the account assets state
// comes back empty, find a fix and then change these tests to cold-start again
it('should be able to handle ethereum payments urls for ETH (arbitrum)', async () => {
const url = 'ethereum:payment-brunobarbieri.eth@42161?value=1e15';
await testEthereumDeeplink(url);
await testEthereumDeeplink(url, false);
});

it.skip('should be able to handle ethereum payments urls for DAI (optimism)', async () => {
// FIXME: when doing open deeplinks with cold start, the account assets state
// comes back empty, find a fix and then change these tests to cold-start again
it('should be able to handle ethereum payments urls for DAI (optimism)', async () => {
const url = escapeUrl(
'ethereum:0xda10009cbd5d07dd0cecc66161fc93d7c9000da1@10/transfer?address=brunobarbieri.eth&uint256=1e15'
);
await testEthereumDeeplink(url);
await testEthereumDeeplink(url, false);
});

it.skip('should be able to handle ethereum payments urls for MATIC (polygon)', async () => {
// FIXME: when doing open deeplinks with cold start, the account assets state
// comes back empty, find a fix and then change these tests to cold-start again
it('should be able to handle ethereum payments urls for MATIC (polygon)', async () => {
const url = escapeUrl('ethereum:payment-brunobarbieri.eth@137?value=1e15');
await testEthereumDeeplink(url);
await testEthereumDeeplink(url, false);
});

afterAll(async () => {
Expand Down

0 comments on commit 40d1396

Please sign in to comment.