Skip to content

Commit efcfc12

Browse files
authored
Merge pull request #14901 from LedgerHQ/fix/swap-live-app-wait-before-assert
fix(e2e): wait for element before asserting in expectSwapLiveApp
2 parents aa63be9 + 9a08e71 commit efcfc12

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

e2e/mobile/page/liveApps/swapLiveApp.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ export default class SwapLiveAppPage {
3232

3333
@Step("Expect swap live app page")
3434
async expectSwapLiveApp() {
35+
await waitWebElementByTestId(this.fromSelector);
3536
await detoxExpect(getWebElementByTestId(this.fromSelector)).toExist();
3637
await detoxExpect(getWebElementByTestId(this.toSelector)).toExist();
3738
await detoxExpect(getWebElementByTestId(this.quotesButtonDisabled)).toExist();

0 commit comments

Comments
 (0)