w3wallets 0.9.0 → 0.9.2
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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -123,7 +123,7 @@ var Backpack = class extends Wallet {
|
|
|
123
123
|
}
|
|
124
124
|
await this.page.getByRole("button", { name: "I agree to the terms" }).click();
|
|
125
125
|
await this.page.getByText("I already have a wallet").click();
|
|
126
|
-
await this.page.getByText("
|
|
126
|
+
await this.page.getByText("View all").click();
|
|
127
127
|
await this.page.getByText(network).click();
|
|
128
128
|
await this.page.getByText("Private key").click();
|
|
129
129
|
await this.page.getByPlaceholder("Private key").fill(privateKey);
|
|
@@ -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
|
@@ -89,7 +89,7 @@ var Backpack = class extends Wallet {
|
|
|
89
89
|
}
|
|
90
90
|
await this.page.getByRole("button", { name: "I agree to the terms" }).click();
|
|
91
91
|
await this.page.getByText("I already have a wallet").click();
|
|
92
|
-
await this.page.getByText("
|
|
92
|
+
await this.page.getByText("View all").click();
|
|
93
93
|
await this.page.getByText(network).click();
|
|
94
94
|
await this.page.getByText("Private key").click();
|
|
95
95
|
await this.page.getByPlaceholder("Private key").fill(privateKey);
|
|
@@ -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 });
|