@auxcode/auxta 1.3.21 → 1.3.22
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/build/cjs/macros/helpers/code.helper.d.ts +1 -1
- package/build/cjs/macros/helpers/code.helper.js +1 -2
- package/build/esm/macros/helpers/code.helper.d.ts +1 -1
- package/build/esm/macros/helpers/code.helper.js +1 -2
- package/build/tsconfig-cjs.tsbuildinfo +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -17,7 +17,7 @@ export declare class FunctionHelper extends ExtendDefaultPage {
|
|
|
17
17
|
clickAndWaitForPageToBeCreated(selector: string, page?: import("puppeteer").Page): Promise<void>;
|
|
18
18
|
closeLastPage(page?: import("puppeteer").Page): Promise<void>;
|
|
19
19
|
microsoftLogin(button: string, email: string, password: string): Promise<void>;
|
|
20
|
-
clickInMail(from_name: string, from_email: string, subject: string, body: string): Promise<
|
|
20
|
+
clickInMail(from_name: string, from_email: string, subject: string, body: string): Promise<true | undefined>;
|
|
21
21
|
private getHeader;
|
|
22
22
|
private getBody;
|
|
23
23
|
}
|
|
@@ -226,8 +226,7 @@ class FunctionHelper extends extend_default_page_1.ExtendDefaultPage {
|
|
|
226
226
|
yield this.timeout(12000);
|
|
227
227
|
timeoutCount += 12000;
|
|
228
228
|
}
|
|
229
|
-
yield this.log('Then', `Email from: ${from_name} ${from_email} with subject: ${subject} is found`, AuxTA_1.StepStatus.
|
|
230
|
-
throw new Error(`Email from: ${from_name} ${from_email} with subject: ${subject} is found`);
|
|
229
|
+
yield this.log('Then', `Email from: ${from_name} ${from_email} with subject: ${subject} and body: ${body} is found`, AuxTA_1.StepStatus.FAILED);
|
|
231
230
|
});
|
|
232
231
|
}
|
|
233
232
|
getHeader(value, headers) {
|
|
@@ -17,7 +17,7 @@ export declare class FunctionHelper extends ExtendDefaultPage {
|
|
|
17
17
|
clickAndWaitForPageToBeCreated(selector: string, page?: import("puppeteer").Page): Promise<void>;
|
|
18
18
|
closeLastPage(page?: import("puppeteer").Page): Promise<void>;
|
|
19
19
|
microsoftLogin(button: string, email: string, password: string): Promise<void>;
|
|
20
|
-
clickInMail(from_name: string, from_email: string, subject: string, body: string): Promise<
|
|
20
|
+
clickInMail(from_name: string, from_email: string, subject: string, body: string): Promise<true | undefined>;
|
|
21
21
|
private getHeader;
|
|
22
22
|
private getBody;
|
|
23
23
|
}
|
|
@@ -220,8 +220,7 @@ export class FunctionHelper extends ExtendDefaultPage {
|
|
|
220
220
|
yield this.timeout(12000);
|
|
221
221
|
timeoutCount += 12000;
|
|
222
222
|
}
|
|
223
|
-
yield this.log('Then', `Email from: ${from_name} ${from_email} with subject: ${subject} is found`, StepStatus.
|
|
224
|
-
throw new Error(`Email from: ${from_name} ${from_email} with subject: ${subject} is found`);
|
|
223
|
+
yield this.log('Then', `Email from: ${from_name} ${from_email} with subject: ${subject} and body: ${body} is found`, StepStatus.FAILED);
|
|
225
224
|
});
|
|
226
225
|
}
|
|
227
226
|
getHeader(value, headers) {
|