metamask-mobile icon indicating copy to clipboard operation
metamask-mobile copied to clipboard

E2E: Update permission-system-revoking-multiple-accounts test script

Open SamuelSalas opened this issue 1 year ago • 0 comments

Currently, e2e/specs/permission-systems/permission-system-revoking-multiple-accounts.spec.js is failing after a latest change from Sushi swap. Before this change, the app was expected to navigate to the Sushi swap website and the connect modal should pop up. Right now, to connect is required to tap the Metamask option from the Connect dropdown. So, it would be required to update the connect steps or to change the swap expected to connect. Here is the exact snipped of code that is failing:

// should connect to sushi swap dapp
await Browser.tapUrlInputBox();
await Browser.navigateToURL(SUSHI_SWAP);
await Assertions.checkIfVisible(ConnectModal.container);
await ConnectModal.scrollToBottomOfModal();
await Assertions.checkIfNotVisible(ConnectModal.container);
await TabBarComponent.tapBrowser();

Sushi swap screenshot: image.png

SamuelSalas avatar Apr 23 '24 18:04 SamuelSalas