w3wallets 0.10.1 → 0.10.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 CHANGED
@@ -121,7 +121,7 @@ var Backpack = class extends Wallet {
121
121
  await this.page.getByLabel("Go back").click();
122
122
  }
123
123
  }
124
- await this.page.getByRole("button", { name: "I agree to the terms" }).click();
124
+ await this.page.getByTestId("terms-of-service-checkbox").click();
125
125
  await this.page.getByText("I already have a wallet").click();
126
126
  await this.page.getByText(network).click();
127
127
  await this.page.getByText("Private key").click();
@@ -212,7 +212,7 @@ var Metamask = class extends Wallet {
212
212
  await this.page.getByTestId("onboarding-import-wallet").click();
213
213
  await this.page.getByTestId("onboarding-import-with-srp-button").click();
214
214
  await this.page.getByTestId("srp-input-import__srp-note").pressSequentially(mnemonic, { delay: 5 });
215
- await this.page.getByTestId("import-srp-confirm").click();
215
+ await this.page.getByRole("button", { name: "Continue" }).click();
216
216
  await this.page.getByTestId("create-password-new-input").fill(password);
217
217
  await this.page.getByTestId("create-password-confirm-input").fill(password);
218
218
  await this.page.getByTestId("create-password-terms").click();
@@ -281,7 +281,7 @@ var Metamask = class extends Wallet {
281
281
  await p.locator(
282
282
  '[data-testid="confirm-footer-button"], [data-testid="confirm-btn"], [data-testid="page-container-footer-next"], [data-testid="confirmation-submit-button"]'
283
283
  ).click();
284
- await p.waitForSelector(".main-container-wrapper:empty", {
284
+ await p.waitForSelector(".multichain-app-header", {
285
285
  timeout: 1e4
286
286
  });
287
287
  await p.close();
package/dist/index.mjs CHANGED
@@ -87,7 +87,7 @@ var Backpack = class extends Wallet {
87
87
  await this.page.getByLabel("Go back").click();
88
88
  }
89
89
  }
90
- await this.page.getByRole("button", { name: "I agree to the terms" }).click();
90
+ await this.page.getByTestId("terms-of-service-checkbox").click();
91
91
  await this.page.getByText("I already have a wallet").click();
92
92
  await this.page.getByText(network).click();
93
93
  await this.page.getByText("Private key").click();
@@ -178,7 +178,7 @@ var Metamask = class extends Wallet {
178
178
  await this.page.getByTestId("onboarding-import-wallet").click();
179
179
  await this.page.getByTestId("onboarding-import-with-srp-button").click();
180
180
  await this.page.getByTestId("srp-input-import__srp-note").pressSequentially(mnemonic, { delay: 5 });
181
- await this.page.getByTestId("import-srp-confirm").click();
181
+ await this.page.getByRole("button", { name: "Continue" }).click();
182
182
  await this.page.getByTestId("create-password-new-input").fill(password);
183
183
  await this.page.getByTestId("create-password-confirm-input").fill(password);
184
184
  await this.page.getByTestId("create-password-terms").click();
@@ -247,7 +247,7 @@ var Metamask = class extends Wallet {
247
247
  await p.locator(
248
248
  '[data-testid="confirm-footer-button"], [data-testid="confirm-btn"], [data-testid="page-container-footer-next"], [data-testid="confirmation-submit-button"]'
249
249
  ).click();
250
- await p.waitForSelector(".main-container-wrapper:empty", {
250
+ await p.waitForSelector(".multichain-app-header", {
251
251
  timeout: 1e4
252
252
  });
253
253
  await p.close();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "w3wallets",
3
3
  "description": "browser wallets for playwright",
4
- "version": "0.10.1",
4
+ "version": "0.10.2",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "homepage": "https://github.com/Maksandre/w3wallets",