Skip to content

Commit

Permalink
Merge branch 'develop' into eth_json_rpc_middleware_patch
Browse files Browse the repository at this point in the history
  • Loading branch information
jpuri authored Sep 10, 2024
2 parents a8fe45a + 9f8651c commit 4a33678
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions test/e2e/flask/btc/btc-account-overview.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { strict as assert } from 'assert';
import { Suite } from 'mocha';
import { withBtcAccountSnap } from './common-btc';

Expand Down Expand Up @@ -30,15 +29,13 @@ describe('BTC Account - Overview', function (this: Suite) {
css: '[disabled]',
});

const buySellButton = await driver.waitForSelector(
'[data-testid="coin-overview-buy"]',
);
assert.equal(await buySellButton.isEnabled(), true);
// buy sell button
await driver.findClickableElement('[data-testid="coin-overview-buy"]');

const portfolioButton = await driver.waitForSelector(
// receive button
await driver.findClickableElement(
'[data-testid="coin-overview-receive"]',
);
assert.equal(await portfolioButton.isEnabled(), true);
},
);
});
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/tests/tokens/nft/import-nft.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ describe('Import NFT', function () {
// Enter a valid NFT that belongs to user and check success message appears
await driver.fill('#address', contractAddress);
await driver.fill('#token-id', '1');
await driver.clickElement(
await driver.clickElementAndWaitToDisappear(
'[data-testid="import-nfts-modal-import-button"]',
);

Expand Down

0 comments on commit 4a33678

Please sign in to comment.