mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +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:
parent
3da175cf0c
commit
69ccb37cb9
@ -1,7 +1,6 @@
|
|||||||
const { strict: assert } = require('assert');
|
const { strict: assert } = require('assert');
|
||||||
const { convertToHexValue, withFixtures } = require('../helpers');
|
const { convertToHexValue, withFixtures } = require('../helpers');
|
||||||
const { SMART_CONTRACTS } = require('../seeder/smart-contracts');
|
const { SMART_CONTRACTS } = require('../seeder/smart-contracts');
|
||||||
const FixtureBuilder = require('../fixture-builder');
|
|
||||||
|
|
||||||
describe('Editing confirmations of dapp initiated contract interactions', function () {
|
describe('Editing confirmations of dapp initiated contract interactions', function () {
|
||||||
const ganacheOptions = {
|
const ganacheOptions = {
|
||||||
@ -18,9 +17,7 @@ describe('Editing confirmations of dapp initiated contract interactions', functi
|
|||||||
await withFixtures(
|
await withFixtures(
|
||||||
{
|
{
|
||||||
dapp: true,
|
dapp: true,
|
||||||
fixtures: new FixtureBuilder()
|
fixtures: 'connected-state',
|
||||||
.withPermissionControllerConnectedToTestDapp()
|
|
||||||
.build(),
|
|
||||||
ganacheOptions,
|
ganacheOptions,
|
||||||
smartContract,
|
smartContract,
|
||||||
title: this.test.title,
|
title: this.test.title,
|
||||||
@ -68,9 +65,7 @@ describe('Editing confirmations of dapp initiated contract interactions', functi
|
|||||||
await withFixtures(
|
await withFixtures(
|
||||||
{
|
{
|
||||||
dapp: true,
|
dapp: true,
|
||||||
fixtures: new FixtureBuilder()
|
fixtures: 'connected-state',
|
||||||
.withPermissionControllerConnectedToTestDapp()
|
|
||||||
.build(),
|
|
||||||
ganacheOptions,
|
ganacheOptions,
|
||||||
smartContract,
|
smartContract,
|
||||||
title: this.test.title,
|
title: this.test.title,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user