external-services-automation 1.0.16 → 1.0.18
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.
|
@@ -41,7 +41,9 @@ class RegisterPage {
|
|
|
41
41
|
if (acceptMarketing) {
|
|
42
42
|
await this.checkMarketingOptIn();
|
|
43
43
|
}
|
|
44
|
-
await this.
|
|
44
|
+
if (await this.acceptPoliciesCheckbox.isVisible()) {
|
|
45
|
+
await this.checkAcceptPolicies();
|
|
46
|
+
}
|
|
45
47
|
await this.clickCreateAccount();
|
|
46
48
|
}
|
|
47
49
|
async isOnRegisterPage() {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Page } from 'playwright/test';
|
|
2
|
+
import { GuerrillaMailClient } from '../utils/temp-email-utils';
|
|
2
3
|
export declare class KindeAuthService {
|
|
3
4
|
private tempEmail?;
|
|
4
5
|
private verificationCode?;
|
|
@@ -8,6 +9,6 @@ export declare class KindeAuthService {
|
|
|
8
9
|
private confirmCodePage;
|
|
9
10
|
private passwordSetupPage;
|
|
10
11
|
constructor(page: Page);
|
|
11
|
-
createAccountWithEmailVerification(): Promise<
|
|
12
|
+
createAccountWithEmailVerification(): Promise<GuerrillaMailClient>;
|
|
12
13
|
deleteTemporaryEmail(): Promise<void>;
|
|
13
14
|
}
|
|
@@ -39,7 +39,7 @@ class KindeAuthService {
|
|
|
39
39
|
const password = 'TestPassword123!';
|
|
40
40
|
await this.passwordSetupPage.submitPasswordForm(password);
|
|
41
41
|
await this.passwordSetupPage.dontUseMFA();
|
|
42
|
-
return this.
|
|
42
|
+
return this.emailClient;
|
|
43
43
|
}
|
|
44
44
|
async deleteTemporaryEmail() {
|
|
45
45
|
if (this.tempEmail) {
|