Skip to content

Commit

Permalink
Merge branch 'develop' into olu/test-scenario-eth-sign
Browse files Browse the repository at this point in the history
  • Loading branch information
segun authored Mar 12, 2024
2 parents 14533c8 + 1803b49 commit 564e263
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/mmi/Dockerfile
Original file line number Diff line number Diff line change
@@ -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'

Expand Down
8 changes: 2 additions & 6 deletions test/e2e/mmi/specs/dapp.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
};

Expand All @@ -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,
}) => {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 564e263

Please sign in to comment.