@HFReport
@regression
Feature: H & F Report
File name: H_F_Report_suite.feature
Relative path: feature/H_F_Report_suite.feature
Given
a lead exists in the system
00:00:04.794
And
the user is logged into the CRM as "Super Admin"
00:00:09.039
And
the user is on the Leads screen
00:00:12.615
And
Adding details for H&FReport :
00:00:27.786
| Preffered language | English |
|---|---|
| Height (cm) | 162 |
| Weight (kg) | 50 |
| BMI | 19.05 |
| Target Weight (kg) | 60 |
| From Time | 10:30 AM |
| To Time | 06:15 PM |
| Best Time To Call | 10 AM to 2 PM |
| Any existing Health Issues? | Diabetes |
| What is your Most Primary Fitness Goal from the below List? | To be in shape |
| What is your Most Challenging Pain Point which is stopping you from achieving your Fitness Goals? | Fitness is not Fun |
| Any existing Body Pain? | None |
| BMR (for your Present Weight) | 1362.5 |
| BMR (for your Goal Weight of) | 1462.5 |
| Category | You fall under Normal Category |
TimeoutError: page.waitForURL: Timeout 180000ms exceeded.
=========================== logs ===========================
waiting for navigation until "load"
============================================================
at ../tests/ui_test/page/LeadReportsPage.js:361
359 | ]);
360 |
) 361 | await pdfPage.waitForURL(/\.pdf(\?|$)/i);
| ^
362 | return pdfPage;
363 | }
364 |
Given
a lead exists in the system
00:00:04.486
And
the user is logged into the CRM as "Super Admin"
00:00:09.207
And
the user is on the Leads screen
00:00:12.913
And
Adding details for H&FReport :
00:00:28.399
| Preffered language | English |
|---|---|
| Height (cm) | 162 |
| Weight (kg) | 75 |
| BMI | 28.58 |
| Target Weight (kg) | 60 |
| From Time | 10:30 AM |
| To Time | 06:15 PM |
| Best Time To Call | 10 AM to 2 PM |
| Any existing Health Issues? | Diabetes |
| What is your Most Primary Fitness Goal from the below List? | To be in shape |
| What is your Most Challenging Pain Point which is stopping you from achieving your Fitness Goals? | Fitness is not Fun |
| Any existing Body Pain? | None |
| BMR (for your Present Weight) | 1612.5 |
| BMR (for your Goal Weight of) | 1462.5 |
| Category | You fall under OBESE II Category |
TimeoutError: page.waitForURL: Timeout 180000ms exceeded.
=========================== logs ===========================
waiting for navigation until "load"
============================================================
at ../tests/ui_test/page/LeadReportsPage.js:361
359 | ]);
360 |
) 361 | await pdfPage.waitForURL(/\.pdf(\?|$)/i);
| ^
362 | return pdfPage;
363 | }
364 |
Given
a lead exists in the system
00:00:04.443
And
the user is logged into the CRM as "Super Admin"
00:00:09.589
And
the user is on the Leads screen
00:00:13.201
And
Adding details for H&FReport :
00:00:29.065
| Preffered language | English |
|---|---|
| Height (cm) | 162 |
| Weight (kg) | 40 |
| BMI | 15.24 |
| Target Weight (kg) | 60 |
| From Time | 10:30 AM |
| To Time | 06:15 PM |
| Best Time To Call | 10 AM to 2 PM |
| Any existing Health Issues? | Diabetes |
| What is your Most Primary Fitness Goal from the below List? | To be in shape |
| What is your Most Challenging Pain Point which is stopping you from achieving your Fitness Goals? | Fitness is not Fun |
| Any existing Body Pain? | None |
| BMR (for your Present Weight) | 1262.5 |
| BMR (for your Goal Weight of) | 1462.5 |
| Category | You fall under Under Weight Category |
TimeoutError: page.waitForURL: Timeout 180000ms exceeded.
=========================== logs ===========================
waiting for navigation until "load"
============================================================
at ../tests/ui_test/page/LeadReportsPage.js:361
359 | ]);
360 |
) 361 | await pdfPage.waitForURL(/\.pdf(\?|$)/i);
| ^
362 | return pdfPage;
363 | }
364 |
Given
a lead exists in the system
00:00:04.702
And
the user is logged into the CRM as "Super Admin"
00:00:09.601
And
the user is on the Leads screen
00:00:13.093
And
Adding details for H&FReport :
00:00:28.002
| Preffered language | English |
|---|---|
| Height (cm) | 162 |
| Weight (kg) | 40 |
| BMI | 15.24 |
| Target Weight (kg) | 60 |
| From Time | 10:30 AM |
| To Time | 06:15 PM |
| Best Time To Call | 10 AM to 2 PM |
| Any existing Health Issues? | Diabetes |
| What is your Most Primary Fitness Goal from the below List? | To be in shape |
| What is your Most Challenging Pain Point which is stopping you from achieving your Fitness Goals? | Fitness is not Fun |
| Any existing Body Pain? | None |
| BMR (for your Present Weight) | 1262.5 |
| BMR (for your Goal Weight of) | 1462.5 |
And
H&F Report publsihed & Deleted
00:00:19.173
Given
a lead exists in the system
00:00:05.384
And
the user is logged into the CRM as "Super Admin"
00:00:09.180
And
the user is on the Leads screen
00:00:12.117
And
Adding details for H&FReport :
00:00:30.155
| Preffered language | English |
|---|---|
| Height (cm) | 162 |
| Weight (kg) | 40 |
| BMI | 15.24 |
| Target Weight (kg) | 60 |
| From Time | 10:30 AM |
| To Time | 06:15 PM |
| Best Time To Call | 10 AM to 2 PM |
| Any existing Health Issues? | Diabetes |
| What is your Most Primary Fitness Goal from the below List? | To be in shape |
| What is your Most Challenging Pain Point which is stopping you from achieving your Fitness Goals? | Fitness is not Fun |
| Any existing Body Pain? | None |
| BMR (for your Present Weight) | 1262.5 |
| BMR (for your Goal Weight of) | 1462.5 |
And
H&F Report publsihed & Downloaded
00:00:14.662
Given
a lead exists in the system
00:00:05.311
And
the user is logged into the CRM as "Super Admin"
00:00:09.036
And
the user is on the Leads screen
00:00:15.000
And
Adding details for H&FReport :
00:00:27.993
| Preffered language | English |
|---|---|
| Height (cm) | 162 |
| Weight (kg) | 40 |
| BMI | 15.24 |
| Target Weight (kg) | 60 |
| From Time | 10:30 AM |
| To Time | 06:15 PM |
| Best Time To Call | 10 AM to 2 PM |
| Any existing Health Issues? | Diabetes |
| What is your Most Primary Fitness Goal from the below List? | To be in shape |
| What is your Most Challenging Pain Point which is stopping you from achieving your Fitness Goals? | Fitness is not Fun |
| Any existing Body Pain? | None |
| BMR (for your Present Weight) | 1262.5 |
| BMR (for your Goal Weight of) | 1462.5 |
And
H&F Report publsihed & Sent the report via WhatsApp, and get a Alert "Please view the report once before sending via WhatsApp"
00:00:19.315
Given
a lead exists in the system
00:00:04.356
And
the user is logged into the CRM as "Super Admin"
00:00:09.087
And
the user is on the Leads screen
00:00:13.219
And
Adding details for H&FReport :
00:00:28.143
| Preffered language | English |
|---|---|
| Height (cm) | 162 |
| Weight (kg) | 40 |
| BMI | 15.24 |
| Target Weight (kg) | 60 |
| From Time | 10:30 AM |
| To Time | 06:15 PM |
| Best Time To Call | 10 AM to 2 PM |
| Any existing Health Issues? | Diabetes |
| What is your Most Primary Fitness Goal from the below List? | To be in shape |
| What is your Most Challenging Pain Point which is stopping you from achieving your Fitness Goals? | Fitness is not Fun |
| Any existing Body Pain? | None |
| BMR (for your Present Weight) | 1262.5 |
| BMR (for your Goal Weight of) | 1462.5 |
And
H&F Report publsihed multiple times
00:00:51.169