external-services-automation 1.0.22 → 1.0.23
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.
|
@@ -9,6 +9,6 @@ export declare class KindeAuthService {
|
|
|
9
9
|
private confirmCodePage;
|
|
10
10
|
private passwordSetupPage;
|
|
11
11
|
constructor(page: Page);
|
|
12
|
-
createAccountWithEmailVerification(): Promise<GuerrillaMailClient>;
|
|
12
|
+
createAccountWithEmailVerification(referralCode?: string): Promise<GuerrillaMailClient>;
|
|
13
13
|
deleteTemporaryEmail(): Promise<void>;
|
|
14
14
|
}
|
|
@@ -13,8 +13,8 @@ class KindeAuthService {
|
|
|
13
13
|
this.confirmCodePage = new ConfirmCodePage_1.ConfirmCodePage(page);
|
|
14
14
|
this.passwordSetupPage = new PasswordSetupPage_1.PasswordSetupPage(page);
|
|
15
15
|
}
|
|
16
|
-
async createAccountWithEmailVerification() {
|
|
17
|
-
await this.loginPage.
|
|
16
|
+
async createAccountWithEmailVerification(referralCode) {
|
|
17
|
+
await this.loginPage.page.goto(referralCode || '/');
|
|
18
18
|
await this.loginPage.goToRegisterPage();
|
|
19
19
|
await this.registerPage.isOnRegisterPage();
|
|
20
20
|
this.emailClient = temp_email_utils_1.GuerrillaMailClient.createIsolatedClient();
|