Skip to content

Commit

Permalink
Stabilize e2e test (#20987)
Browse files Browse the repository at this point in the history
  • Loading branch information
chloeYue authored and danjm committed Oct 12, 2023
1 parent 2b75713 commit b561d62
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/e2e/tests/ipfs-toggle.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ describe('Settings', function () {
tag: 'button',
});
// should render image now
const nftImage = await driver.findElement('[data-testid="nft-image"]');
const nftImage = await driver.findVisibleElement(
'[data-testid="nft-image"]',
);
assert.equal(await nftImage.isDisplayed(), true);
},
);
Expand Down

0 comments on commit b561d62

Please sign in to comment.