external-services-automation 1.0.8 → 1.0.10

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.
@@ -32,10 +32,8 @@ class PasswordSetupPage {
32
32
  await (0, test_1.expect)(this.continueButton).toBeVisible();
33
33
  }
34
34
  async dontUseMFA() {
35
- console.log('entered dontUseMFA');
36
- if (await this.dontUseMFAButton.isVisible({ timeout: 10000 })) {
35
+ if (await this.dontUseMFAButton.isVisible()) {
37
36
  await this.dontUseMFAButton.click();
38
- console.log('clicked dontUseMFA');
39
37
  }
40
38
  }
41
39
  }
@@ -35,10 +35,10 @@ class KindeAuthService {
35
35
  else {
36
36
  throw new Error('Could not extract verification code from email');
37
37
  }
38
- await this.passwordSetupPage.dontUseMFA();
39
38
  await this.passwordSetupPage.isOnPasswordSetupPage();
40
39
  const password = 'TestPassword123!';
41
40
  await this.passwordSetupPage.submitPasswordForm(password);
41
+ await this.passwordSetupPage.dontUseMFA();
42
42
  }
43
43
  async deleteTemporaryEmail() {
44
44
  if (this.tempEmail) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "external-services-automation",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
4
4
  "description": "External services automation library for Playwright and Cucumber",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",