metamask-mobile
metamask-mobile copied to clipboard
E2E: Update permission-system-revoking-multiple-accounts test script
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:
