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 Sep 21, 2023
1 parent 29ac616 commit f7d99e4
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 @@ -59,7 +59,9 @@ describe('Settings', function () {
});

// 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 f7d99e4

Please sign in to comment.