Skip to content

Commit

Permalink
replace connectToDapp
Browse files Browse the repository at this point in the history
  • Loading branch information
jiexi committed Oct 21, 2024
1 parent bdfb99c commit 315a5bb
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Suite } from 'mocha';
import { Driver } from '../../webdriver/driver';
import { connectToDapp, WINDOW_TITLES, withFixtures } from '../../helpers';
import { WINDOW_TITLES, withFixtures } from '../../helpers';
import FixtureBuilder from '../../fixture-builder';
import ExperimentalSettings from '../../page-objects/pages/experimental-settings';
import HeaderNavbar from '../../page-objects/pages/header-navbar';
Expand Down Expand Up @@ -48,7 +48,8 @@ describe('Snap Account Signatures and Disconnects @no-mmi', function (this: Suit

// Open the Test Dapp and connect
const testDapp = new TestDapp(driver);
await connectToDapp(driver)
await testDapp.openTestDappPage();
await testDapp.connectAccount(newPublicKey);

// SignedTypedDataV3 with Test Dapp
await signTypedDataV3WithSnapAccount(driver, newPublicKey, false, true);
Expand Down

0 comments on commit 315a5bb

Please sign in to comment.