Skip to content

Commit

Permalink
chore: revert testing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
enesozturk committed Apr 26, 2024
1 parent 3f0a624 commit 7a52762
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions apps/laboratory/tests/shared/pages/ModalPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,14 +211,9 @@ export class ModalPage {
}

async switchNetwork(network: string) {
const switchNetworkButton = this.page.getByTestId('w3m-account-select-network')
await this.page.getByTestId('account-button').click()
await this.page.getByTestId('w3m-account-select-network').click()
await this.page.getByTestId(`w3m-network-switch-${network}`).click()
await expect(switchNetworkButton, `Switched network should include ${network}`).toContainText(
network,
{ timeout: 5000 }
)
}

async clickWalletDeeplink() {
Expand Down
1 change: 0 additions & 1 deletion apps/laboratory/tests/shared/pages/ModalWalletPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export class ModalWalletPage extends ModalPage {
}

override async switchNetwork(network: string) {
const switchNetworkButton = this.page.getByTestId('account-switch-network-button')
await this.page.getByTestId('account-switch-network-button').click()
await this.page.getByTestId(`w3m-network-switch-${network}`).click()
}
Expand Down

0 comments on commit 7a52762

Please sign in to comment.