external-services-automation 1.0.2 → 1.0.3

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.
@@ -10,7 +10,7 @@ class RegisterPage {
10
10
  this.emailInput = page.locator('input[name="p_email"]');
11
11
  this.marketingOptInCheckbox = page.locator('input[name="p_kp_usr_is_marketing_opt_in"]');
12
12
  this.acceptPoliciesCheckbox = page.locator('input[name="p_has_clickwrap_accepted"]');
13
- this.createAccountButton = page.locator('button[type="submit"]:has-text("Create your account")');
13
+ this.createAccountButton = page.locator('//span[contains(text(), "account")]/parent::button');
14
14
  }
15
15
  async navigate() {
16
16
  await this.page.goto('/auth/register');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "external-services-automation",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "External services automation library for Playwright and Cucumber",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",