w3wallets 0.9.0 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -266,7 +266,7 @@ var Metamask = class extends Wallet {
|
|
|
266
266
|
}
|
|
267
267
|
async connectToNetwork(networkName, networkType = "Default") {
|
|
268
268
|
await this.page.getByTestId("sort-by-networks").click();
|
|
269
|
-
await this.page.getByRole("button", { name: networkType }).click();
|
|
269
|
+
await this.page.getByRole("button", { name: networkType, exact: true }).click();
|
|
270
270
|
const additionalNetwork = this.page.getByTestId("additional-network-item").getByText(networkName);
|
|
271
271
|
try {
|
|
272
272
|
await additionalNetwork.isEnabled({ timeout: 1e3 });
|
package/dist/index.mjs
CHANGED
|
@@ -232,7 +232,7 @@ var Metamask = class extends Wallet {
|
|
|
232
232
|
}
|
|
233
233
|
async connectToNetwork(networkName, networkType = "Default") {
|
|
234
234
|
await this.page.getByTestId("sort-by-networks").click();
|
|
235
|
-
await this.page.getByRole("button", { name: networkType }).click();
|
|
235
|
+
await this.page.getByRole("button", { name: networkType, exact: true }).click();
|
|
236
236
|
const additionalNetwork = this.page.getByTestId("additional-network-item").getByText(networkName);
|
|
237
237
|
try {
|
|
238
238
|
await additionalNetwork.isEnabled({ timeout: 1e3 });
|