1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Fix e2e test

The new e2e test added for the bug fix being released here has been
updated to use the old e2e test fixtures, rather than the fixture-
builder. The fixture builder is not available on this branch yet.
This commit is contained in:
Mark Stacey 2022-11-15 13:05:25 -03:30
parent 3da175cf0c
commit 69ccb37cb9

View File

@ -1,7 +1,6 @@
const { strict: assert } = require('assert');
const { convertToHexValue, withFixtures } = require('../helpers');
const { SMART_CONTRACTS } = require('../seeder/smart-contracts');
const FixtureBuilder = require('../fixture-builder');
describe('Editing confirmations of dapp initiated contract interactions', function () {
const ganacheOptions = {
@ -18,9 +17,7 @@ describe('Editing confirmations of dapp initiated contract interactions', functi
await withFixtures(
{
dapp: true,
fixtures: new FixtureBuilder()
.withPermissionControllerConnectedToTestDapp()
.build(),
fixtures: 'connected-state',
ganacheOptions,
smartContract,
title: this.test.title,
@ -68,9 +65,7 @@ describe('Editing confirmations of dapp initiated contract interactions', functi
await withFixtures(
{
dapp: true,
fixtures: new FixtureBuilder()
.withPermissionControllerConnectedToTestDapp()
.build(),
fixtures: 'connected-state',
ganacheOptions,
smartContract,
title: this.test.title,