diff --git a/.circleci/config.yml b/.circleci/config.yml index 6953e4c59637..c31acf892010 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -28,7 +28,7 @@ executors: resource_class: small playwright: docker: - - image: mcr.microsoft.com/playwright:v1.41.1-focal + - image: mcr.microsoft.com/playwright:v1.42.1-focal resource_class: medium orbs: diff --git a/test/e2e/mmi/Dockerfile b/test/e2e/mmi/Dockerfile index 05a15b8025a6..200dbfb72df4 100644 --- a/test/e2e/mmi/Dockerfile +++ b/test/e2e/mmi/Dockerfile @@ -1,4 +1,4 @@ -FROM mcr.microsoft.com/playwright:v1.41.1-focal AS build +FROM mcr.microsoft.com/playwright:v1.42.1-focal AS build WORKDIR '/usr/src/app' diff --git a/test/e2e/mmi/specs/dapp.spec.ts b/test/e2e/mmi/specs/dapp.spec.ts index 04ca0200368f..40ae0a6c5b62 100644 --- a/test/e2e/mmi/specs/dapp.spec.ts +++ b/test/e2e/mmi/specs/dapp.spec.ts @@ -22,11 +22,7 @@ const dappsTest = async ( // Sign and submit const statusName = await client.submitTransactionById(custodianTxId); - if (buttonId === 'useSuperPowers_sepolia') { - await mainPage.checkLastTransactionStatus(/Failed/iu); - } else { - await mainPage.checkLastTransactionStatus(statusName); - } + await mainPage.checkLastTransactionStatus(statusName); // Mined status not check as it makes tests flaky and it is blockchain performance dependent }; @@ -49,7 +45,7 @@ test.describe('MMI dapps', () => { await dappsTest(page, context, 'approveTokens'); }); - test('MMI connects to dapp, clicks "Use Super Powers" button, confirm from custody and check that the TX has failed', async ({ + test('MMI connects to dapp, clicks "Use Super Powers" button, and confirm from custody', async ({ page, context, }) => { diff --git a/test/e2e/mmi/specs/extension.visual.spec.ts-snapshots/token-replacement-notification-mmi-visual-linux.png b/test/e2e/mmi/specs/extension.visual.spec.ts-snapshots/token-replacement-notification-mmi-visual-linux.png index 3a8084b66ff9..37eced1cdcf2 100644 Binary files a/test/e2e/mmi/specs/extension.visual.spec.ts-snapshots/token-replacement-notification-mmi-visual-linux.png and b/test/e2e/mmi/specs/extension.visual.spec.ts-snapshots/token-replacement-notification-mmi-visual-linux.png differ