Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias committed Jul 24, 2023
1 parent 810c355 commit 7528d58
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions packages/adapter/test/adapter.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,12 @@ fixture = createFixture({
})

fixture.test(
'should show account info when snap is connected',
'should show connect button when snap is installed',
async ({ metamask, page }) => {
await fixture
.expect(page.getByTestId('account-info'))
.toHaveText('⨎ t1pc2apytmdas3sn5ylwhfa32jfpx7ez7ykieelna')
await page.getByTestId('connect-snap').click()

const dialog = await metamask.waitForDialog('snaps-connect')
fixture.expect(dialog).toBeDefined()
}
)

Expand Down

0 comments on commit 7528d58

Please sign in to comment.