Skip to content

Commit

Permalink
chore: remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterYinusa committed Dec 11, 2024
1 parent 4e14684 commit 424cd57
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/page-objects/src/testDapp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 =>
Expand All @@ -13,10 +11,6 @@ export class Dapp extends PageObject {
super("http://localhost:3000/", "E2E Test Dapp");
}

async useProvider(): Promise<void> {
return await this.providerButtton().click();
}

async getAccounts(): Promise<string> {
return await this.accountsLabel().getText();
}
Expand Down

0 comments on commit 424cd57

Please sign in to comment.