import click from '../utils/click'; import showCypress from './showCypress'; import showNotification from './showNotification'; /** * Basic confirm popup handler. * @returns {Promise} */ export default async function confirmMetaMaskTransaction(): Promise { const page = await showNotification(); await click('[data-testid=page-container-footer-next]:not(:disabled)', { page }); await showCypress(); return true; }