Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
davibroc committed Jan 2, 2025
1 parent b9846f8 commit bda24f7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions e2e/specs/swaps/swap-action-regression.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,10 @@ describe(Regression('Multiple Swaps from Actions'), () => {
// ${'unapproved'}$ |${'50'} | ${'DAI'} | ${'USDC'} | ${CustomNetworks.Tenderly.Mainnet}
it.each`
type | quantity | sourceTokenSymbol | destTokenSymbol | network
${'native'}$ |${'.3'} | ${'ETH'} | ${'WETH'} | ${CustomNetworks.Tenderly.Mainnet}
${'native'}$ |${'.3'} | ${'ETH'} | ${'DAI'} | ${CustomNetworks.Tenderly.Mainnet}
${'wrapped'}$ |${'.2'} | ${'WETH'} | ${'ETH'} | ${CustomNetworks.Tenderly.Mainnet}
${'native'}$ |${'.03'} | ${'ETH'} | ${'WETH'} | ${CustomNetworks.Tenderly.Mainnet}
${'native'}$ |${'.03'} | ${'ETH'} | ${'DAI'} | ${CustomNetworks.Tenderly.Mainnet}
${'wrapped'}$ |${'.01'} | ${'WETH'} | ${'ETH'} | ${CustomNetworks.Tenderly.Mainnet}
${'unapproved'}$ |${'3'} | ${'DAI'} | ${'USDC'} | ${CustomNetworks.Tenderly.Mainnet}
`(
"should swap $type token '$sourceTokenSymbol' to '$destTokenSymbol' on '$network.providerConfig.nickname'",
async ({ type, quantity, sourceTokenSymbol, destTokenSymbol, network }) => {
Expand Down
4 changes: 2 additions & 2 deletions e2e/specs/swaps/swap-action-smoke.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,12 @@ describe(SmokeSwaps('Swap from Actions'), () => {
await SuccessImportAccountView.tapCloseButton();
await AccountListBottomSheet.swipeToDismissAccountsModal();
await Assertions.checkIfVisible(WalletView.container);
await TestHelpers.delay(2000);
await TestHelpers.delay(10000);
});

it.each`
type | quantity | sourceTokenSymbol | destTokenSymbol | network
${'native'}$ |${'.4'} | ${'ETH'} | ${'DAI'} | ${CustomNetworks.Tenderly.Mainnet}
${'native'}$ |${'.04'} | ${'ETH'} | ${'DAI'} | ${CustomNetworks.Tenderly.Mainnet}
`(
"should swap $type token '$sourceTokenSymbol' to '$destTokenSymbol' on '$network.providerConfig.nickname'",
async ({ type, quantity, sourceTokenSymbol, destTokenSymbol, network }) => {
Expand Down
2 changes: 1 addition & 1 deletion e2e/specs/swaps/token-details.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe(SmokeSwaps('Token Chart Tests'), () => {
it('should not display the chart when using Sepolia test network', async () => {
await switchToSepoliaNetwork();
await WalletView.tapOnToken(CustomNetworks.Sepolia.providerConfig.ticker);
await Assertions.checkIfVisible(TokenOverview.noChartData, 30000);
await Assertions.checkIfVisible(TokenOverview.noChartData, 60000);
await Assertions.checkIfElementToHaveText(TokenOverview.tokenPrice, '$0');
});
});

0 comments on commit bda24f7

Please sign in to comment.