diff --git a/packages/page-objects/src/testDapp.ts b/packages/page-objects/src/testDapp.ts index be8a627..24dadd1 100644 --- a/packages/page-objects/src/testDapp.ts +++ b/packages/page-objects/src/testDapp.ts @@ -2,8 +2,6 @@ import { HTMLElement, PageObject } from "@assert-equals/dappdriver"; import { Connect } from "@assert-equals/dappdriver/wallet"; export class Dapp extends PageObject { - private readonly providerButtton: () => HTMLElement = (): HTMLElement => - new HTMLElement("#provider"); private readonly accountsLabel: () => HTMLElement = (): HTMLElement => new HTMLElement("#accounts"); private readonly connectButton: () => HTMLElement = (): HTMLElement => @@ -13,10 +11,6 @@ export class Dapp extends PageObject { super("http://localhost:3000/", "E2E Test Dapp"); } - async useProvider(): Promise { - return await this.providerButtton().click(); - } - async getAccounts(): Promise { return await this.accountsLabel().getText(); }