From 424cd574d83a27cb93e4e5454b6b9f9495838b16 Mon Sep 17 00:00:00 2001 From: PeterYinusa Date: Wed, 11 Dec 2024 21:28:48 +0000 Subject: [PATCH] chore: remove unused code --- packages/page-objects/src/testDapp.ts | 6 ------ 1 file changed, 6 deletions(-) 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(); }