@task
@regression
Feature: Program Task Lifecycle Management - 1
File name: taskautomation_suite_1.feature
Relative path: feature/taskautomation_suite_1.feature
@task
@regression
Scenario: Program starts on the current date, and Manually Coach Allocated & Task Created
Given
a lead exists in the system
00:00:04.089
And
the user is logged into the CRM as "Super Admin"
00:00:09.053
And
the user is on the Leads screen
00:00:12.372
And
Adding Mandatory Details for Payment with :
00:00:27.081
| Best time to Call | 6 PM to 10 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
When
the program "Gold Elite - Automation" for "90 day" of "₹ 3000.00 Rupees" with Start Date Today is assigned to the lead with
00:00:24.047
And
the payment is successfully completed via "UPI"
00:00:16.800
And
the lead appears in the client list
00:00:04.342
And
coaches "Meera(VMC001) as Fitness" and "Tuhinangshu(VME0017) as Nutrition" are allocated to the lead
00:00:12.884
And
the coach allocation and task generation entries are visible in the History tab
00:00:08.563
Then
all program tasks are created immediately within the program tenure
00:00:03.679
And
the tasks are assigned to the respective allocated coaches
00:00:01.518
@task
@regression
Scenario: Both Coach Allocated With Workflow & Task Creation
Given
a lead exists in the system
00:00:04.302
And
the user is logged into the CRM as "Super Admin"
00:00:09.182
And
the user is on the Leads screen
00:00:12.503
And
Adding Mandatory Details for Payment with :
00:00:26.131
| Best time to Call | 10 AM to 2 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
And
the program "Gold Elite - Automation" for "90 day" of "₹ 3000.00 Rupees" with Start Date Today is assigned to the lead with
00:00:23.756
And
the payment is successfully completed via "UPI"
00:00:15.832
And
the lead appears in the client list
00:00:04.402
And
coaches "Meera(VMC001) as Fitness" and "Tuhinangshu(VME0017) as Nutrition" are auto allocated through workflow
00:00:18.875
And
the coach allocation and task generation entries are visible in the History tab after workflow triggered
00:00:06.957
Then
all program tasks are created immediately within the program tenure
00:00:02.560
And
the tasks are assigned to the respective allocated coaches
00:00:01.503
Given
a lead exists in the system
00:00:04.301
And
the user is logged into the CRM as "Super Admin"
00:00:09.131
And
the user is on the Leads screen
00:00:12.860
And
Adding Mandatory Details for Payment with :
00:00:26.240
| Best time to Call | 6 PM to 10 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
Given
the program "Gold Elite - Automation" for "90 day" of "₹ 3000.00 Rupees" with a future start date is assigned to the lead
00:00:12.800
And
the payment is successfully completed via "UPI"
00:00:15.695
And
the lead appears in the client list
00:00:04.398
And
coaches "Meera(VMC001) as Fitness" and "Tuhinangshu(VME0017) as Nutrition" are allocated to the lead
00:00:14.245
And
the coach allocation and task generation entries are visible in the History before editing Start date
00:00:08.436
Then
all program tasks are created immediately within the program tenure in future day
00:00:02.508
And
the tasks are assigned to the respective allocated coaches for future day
00:00:01.481
@task
@regression
Scenario: Program starts at the future, coach allocated and after that the date got reverted to past
Given
a lead exists in the system
00:00:04.203
And
the user is logged into the CRM as "Super Admin"
00:00:09.337
And
the user is on the Leads screen
00:00:13.010
And
Adding Mandatory Details for Payment with :
00:00:26.374
| Best time to Call | 6 PM to 10 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
Given
the program "Gold Elite - Automation" for "90 day" of "₹ 3000.00 Rupees" with a future start date is assigned to the lead
00:00:12.792
And
the payment is successfully completed via "UPI"
00:00:15.807
And
the lead appears in the client list
00:00:04.422
And
coaches "Meera(VMC001) as Fitness" and "Tuhinangshu(VME0017) as Nutrition" are allocated to the lead
00:00:12.768
And
the coach allocation and task generation entries are visible in the History before editing Start date
00:00:08.524
Then
all program tasks are created immediately within the program tenure in future day
00:00:02.539
And
the tasks are assigned to the respective allocated coaches for future day
00:00:01.524
TimeoutError: locator.click: Timeout 60000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Choose date' }).first()
- locator resolved to (button disabled tabindex="-1" type="button" aria-label="Choose date, selected date is Aug 27, 2026" class="MuiButtonBase-root Mui-disabled MuiIconButton-root Mui-disabled MuiIconButton-edgeEnd MuiIconButton-sizeMedium css-15ni0jc")…(/button)
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action
- waiting 100ms
116 × waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action
- waiting 500ms
at ../tests/ui_test/page/LeadPackagePage.js:1154
1152 |
1153 | async editStartDate(targetDate) {
) 1154 | await this.startDateCalendarBtn.click();
| ^
1155 | await editDate(this.page, targetDate);
1156 | await this.page.waitForTimeout(1000);
1157 | }
Then
all program tasks are created immediately within the program tenure
0s
And
the tasks are assigned to the respective allocated coaches
0s
And
no duplicate tasks are created
0s
@task
@regression
Scenario: Program starts today, coach allocated and after that the date got changed to Future Day
Given
a lead exists in the system
00:00:04.253
And
the user is logged into the CRM as "Super Admin"
00:00:07.088
And
the user is on the Leads screen
00:00:11.975
And
Adding Mandatory Details for Payment with :
00:00:26.596
| Best time to Call | 6 PM to 10 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
When
the program "Gold Elite - Automation" for "90 day" of "₹ 3000.00 Rupees" with Start Date Today is assigned to the lead with
00:00:23.677
And
the payment is successfully completed via "UPI"
00:00:15.697
And
the lead appears in the client list
00:00:04.597
And
coaches "Meera(VMC001) as Fitness" and "Tuhinangshu(VME0017) as Nutrition" are allocated to the lead
00:00:11.920
And
the coach allocation and task generation entries are visible in the History tab
00:00:09.094
Then
all program tasks are created immediately within the program tenure
00:00:02.527
And
the tasks are assigned to the respective allocated coaches
00:00:01.560
TimeoutError: locator.click: Timeout 60000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Choose date' }).first()
- locator resolved to (button disabled tabindex="-1" type="button" aria-label="Choose date, selected date is Aug 25, 2026" class="MuiButtonBase-root Mui-disabled MuiIconButton-root Mui-disabled MuiIconButton-edgeEnd MuiIconButton-sizeMedium css-15ni0jc")…(/button)
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action
- waiting 100ms
116 × waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action
- waiting 500ms
at ../tests/ui_test/page/LeadPackagePage.js:1154
1152 |
1153 | async editStartDate(targetDate) {
) 1154 | await this.startDateCalendarBtn.click();
| ^
1155 | await editDate(this.page, targetDate);
1156 | await this.page.waitForTimeout(1000);
1157 | }
Then
all program tasks are created immediately within the program tenure in future day
0s
And
the tasks are assigned to the respective allocated coaches for future day
0s
Then
all program tasks are generated in the new future start date without any duplication
0s
@task
@regression
Scenario: Program Cancelled before Start Date & All Tasks are cancelled
Given
a lead exists in the system
00:00:04.488
And
the user is logged into the CRM as "Super Admin"
00:00:11.500
And
the user is on the Leads screen
00:00:13.168
And
Adding Mandatory Details for Payment with :
00:00:26.015
| Best time to Call | 6 PM to 10 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
Given
the program "Gold Elite - Automation" for "90 day" of "₹ 3000.00 Rupees" with a future start date is assigned to the lead
00:00:12.586
And
the payment is successfully completed via "UPI"
00:00:15.658
And
the lead appears in the client list
00:00:04.245
And
coaches "Meera(VMC001) as Fitness" and "Tuhinangshu(VME0017) as Nutrition" are allocated to the lead
00:00:15.787
And
the coach allocation and task generation entries are visible in the History before editing Start date
00:00:08.763
Then
all program tasks are created immediately within the program tenure in future day
00:00:02.559
And
the tasks are assigned to the respective allocated coaches for future day
00:00:01.549
And
program is cancelled for the lead
00:00:03.512
Then
All task gets cancelled after cancelling the program
00:00:06.055
Given
a lead exists in the system
00:00:05.260
And
the user is logged into the CRM as "Super Admin"
00:00:09.342
And
the user is on the Leads screen
00:00:14.227
And
Adding Mandatory Details for Payment with :
00:00:26.210
| Best time to Call | 6 PM to 10 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
When
the program "Gold Elite - Automation" for "90 day" of "₹ 3000.00 Rupees" with Start Date Today is assigned to the lead with
00:00:24.019
And
the payment is successfully completed via "UPI"
00:00:15.678
And
the lead appears in the client list
00:00:04.220
And
coaches "Meera(VMC001) as Fitness" and "Tuhinangshu(VME0017) as Nutrition" are allocated to the lead
00:00:14.620
And
the coach allocation and task generation entries are visible in the History tab
00:00:09.092
Then
all program tasks are created immediately within the program tenure
00:00:02.565
And
the tasks are assigned to the respective allocated coaches
00:00:01.579
And
program is ended manually for the lead for next day
00:00:04.177
And
all the future task gets cancelled based on the end day
00:00:05.005
@task
@regression
Scenario: Both Coach Manually Allocated Mistakenly by Manager/Admin for Nutrition Only Program & Task Validation
Given
a lead exists in the system
00:00:04.497
And
the user is logged into the CRM as "Super Admin"
00:00:09.132
And
the user is on the Leads screen
00:00:13.170
And
Adding Mandatory Details for Payment with :
00:00:26.117
| Best time to Call | 6 PM to 10 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
When
the program "Only Nutrition - Automation" for "90 day" of "₹ 2000.00 Rupees" with Start Date Today is assigned to the lead with
00:00:23.474
And
the payment is successfully completed via "UPI"
00:00:16.628
And
the lead appears in the client list
00:00:04.267
And
coaches "Meera(VMC001) as Fitness" and "Tuhinangshu(VME0017) as Nutrition" are allocated to the lead
00:00:14.981
And
the coach allocation and task generation entries are visible in the History tab
00:00:08.980
Then
all program tasks are created immediately within the program tenure for "Tuhinangshu(VME0017) as Nutrition"
00:00:03.810
@task
@regression
Scenario: Caoch Allocated for Nutrition Only Package from Automatic Workflow, and Task Validation
Given
a lead exists in the system
00:00:04.212
And
the user is logged into the CRM as "Super Admin"
00:00:09.695
And
the user is on the Leads screen
00:00:14.020
And
Adding Mandatory Details for Payment with :
00:00:26.081
| Best time to Call | 10 AM to 2 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
When
the program "Only Nutrition - Automation" for "90 day" of "₹ 2000.00 Rupees" with Start Date Today is assigned to the lead with
00:00:23.991
And
the payment is successfully completed via "UPI"
00:00:16.694
And
the lead appears in the client list
00:00:04.471
And
coaches "Tuhinangshu(VME0017) as Nutrition" are auto allocated through workflow
00:00:15.219
And
the coach allocation and task generation entries are visible in the History tab after workflow triggered for one Coach
00:00:08.170
Then
all program tasks are created immediately within the program tenure for "Tuhinangshu(VME0017) as Nutrition"
00:00:03.857
@task
@regression
Scenario: First coach Allocated, then again another coach allocated & Task to be Generated as usual
Given
a lead exists in the system
00:00:06.718
And
the user is logged into the CRM as "Super Admin"
00:00:08.944
And
the user is on the Leads screen
00:00:12.439
And
Adding Mandatory Details for Payment with :
00:00:26.953
| Best time to Call | 6 PM to 10 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
When
the program "Gold Elite - Automation" for "90 day" of "₹ 3000.00 Rupees" with Start Date Today is assigned to the lead with
00:00:23.597
And
the payment is successfully completed via "UPI"
00:00:16.479
And
the lead appears in the client list
00:00:04.142
And
first coache allocated "Meera(VMC001) as Fitness" and after that second coach allocated "Tuhinangshu(VME0017) as Nutrition" to the lead
00:00:24.590
And
the coach allocation and task generation entries are visible in the History tab after subseqent coach allocation
00:00:06.409
Then
all program tasks are created immediately within the program tenure
00:00:02.420
And
the tasks are assigned to the respective allocated coaches
00:00:01.472
@task
@regression
Scenario: First coach Allocated - the edited the start date - again another coach allocated & Task to be Generated
Given
a lead exists in the system
00:00:04.541
And
the user is logged into the CRM as "Super Admin"
00:00:07.085
And
the user is on the Leads screen
00:00:11.968
And
Adding Mandatory Details for Payment with :
00:00:26.207
| Best time to Call | 6 PM to 10 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
Given
the program "Gold Elite - Automation" for "90 day" of "₹ 3000.00 Rupees" with a future start date is assigned to the lead
00:00:12.757
And
the payment is successfully completed via "UPI"
00:00:15.874
And
the lead appears in the client list
00:00:04.853
And
coaches "Tuhinangshu(VME0017) as Nutrition" is auto allocated manually
00:00:06.451
And
Only "Tuhinangshu(VME0017) as Nutrition" allocation and task generation entries are visible in the History tab
00:00:08.595
TimeoutError: locator.click: Timeout 60000ms exceeded.
Call log:
- waiting for getByRole('button', { name: 'Choose date' }).first()
- locator resolved to (button disabled tabindex="-1" type="button" aria-label="Choose date, selected date is Aug 27, 2026" class="MuiButtonBase-root Mui-disabled MuiIconButton-root Mui-disabled MuiIconButton-edgeEnd MuiIconButton-sizeMedium css-15ni0jc")…(/button)
- attempting click action
2 × waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action
- waiting 20ms
2 × waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action
- waiting 100ms
116 × waiting for element to be visible, enabled and stable
- element is not enabled
- retrying click action
- waiting 500ms
at ../tests/ui_test/page/LeadPackagePage.js:1154
1152 |
1153 | async editStartDate(targetDate) {
) 1154 | await this.startDateCalendarBtn.click();
| ^
1155 | await editDate(this.page, targetDate);
1156 | await this.page.waitForTimeout(1000);
1157 | }
And
second coach "Meera(VMC001) as Fitness" is allocated manually
0s
And
the coach allocation and task generation entries are visible in the History tab after subseqent coach allocation after start date change to today
0s
Then
all program tasks are created immediately within the program tenure
0s
And
the tasks are assigned to the respective allocated coaches
0s
@task
@regression
Scenario: Coach change together at a same time from clinet List
Given
a lead exists in the system
00:00:07.252
And
the user is logged into the CRM as "Super Admin"
00:00:09.132
And
the user is on the Leads screen
00:00:12.590
And
Adding Mandatory Details for Payment with :
00:00:26.163
| Best time to Call | 6 PM to 10 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
When
the program "Gold Elite - Automation" for "90 day" of "₹ 3000.00 Rupees" with Start Date Today is assigned to the lead with
00:00:23.945
And
the payment is successfully completed via "UPI"
00:00:15.606
And
the lead appears in the client list
00:00:05.138
And
coaches "Meera(VMC001) as Fitness" and "Tuhinangshu(VME0017) as Nutrition" are allocated to the lead
00:00:11.207
And
the coach allocation and task generation entries are visible in the History tab
00:00:08.558
Then
all program tasks are created immediately within the program tenure
00:00:02.428
And
the tasks are assigned to the respective allocated coaches
00:00:01.547
And
again coach is changed to "Michelle(VME002) as Fitness" and "Dhoni(VME005) as Nutrition" from client list page
00:00:13.451
And
the coach allocation and task generation entries are visible in the History tab with New Coaches
00:00:06.428
And
all the Task is transferred to New Coaches
00:00:03.892
@task
@regression
Scenario: Coach change together at a same time from package page
Given
a lead exists in the system
00:00:04.478
And
the user is logged into the CRM as "Super Admin"
00:00:09.188
And
the user is on the Leads screen
00:00:13.009
And
Adding Mandatory Details for Payment with :
00:00:26.336
| Best time to Call | 6 PM to 10 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
When
the program "Gold Elite - Automation" for "90 day" of "₹ 3000.00 Rupees" with Start Date Today is assigned to the lead with
00:00:24.177
And
the payment is successfully completed via "UPI"
00:00:16.694
And
the lead appears in the client list
00:00:04.452
And
coaches "Meera(VMC001) as Fitness" and "Tuhinangshu(VME0017) as Nutrition" are allocated to the lead
00:00:12.217
And
the coach allocation and task generation entries are visible in the History tab
00:00:08.583
Then
all program tasks are created immediately within the program tenure
00:00:02.599
And
the tasks are assigned to the respective allocated coaches
00:00:01.524
And
again coach is changed to "Michelle(VME002) as Fitness" and "Dhoni(VME005) as Nutrition" from package page
00:00:15.698
And
the coach allocation and task generation entries are visible in the History tab with New Coaches
00:00:06.960
And
all the Task is transferred to New Coaches
00:00:04.162
@task
@regression
Scenario: Coach change one after another from Client List Page
Given
a lead exists in the system
00:00:04.234
And
the user is logged into the CRM as "Super Admin"
00:00:08.900
And
the user is on the Leads screen
00:00:13.105
And
Adding Mandatory Details for Payment with :
00:00:27.046
| Best time to Call | 6 PM to 10 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
When
the program "Gold Elite - Automation" for "90 day" of "₹ 3000.00 Rupees" with Start Date Today is assigned to the lead with
00:00:25.794
And
the payment is successfully completed via "UPI"
00:00:16.582
And
the lead appears in the client list
00:00:04.431
And
coaches "Meera(VMC001) as Fitness" and "Tuhinangshu(VME0017) as Nutrition" are allocated to the lead
00:00:12.543
And
the coach allocation and task generation entries are visible in the History tab
00:00:08.448
Then
all program tasks are created immediately within the program tenure
00:00:03.192
And
the tasks are assigned to the respective allocated coaches
00:00:01.551
And
again coach is changed to "Michelle(VME002) as Fitness", and after allocation, again new coach "Dhoni(VME005) as Nutrition" is allocated from Client List Page
00:00:25.027
And
the coach allocation and task generation entries are visible in the History tab with New Coaches
00:00:08.266
And
all the Task is transferred to New Coaches
00:00:04.903
@task
@regression
Scenario: Coach change one after another from Package Page
Given
a lead exists in the system
00:00:04.816
And
the user is logged into the CRM as "Super Admin"
00:00:08.745
And
the user is on the Leads screen
00:00:12.169
And
Adding Mandatory Details for Payment with :
00:00:26.249
| Best time to Call | 6 PM to 10 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
When
the program "Gold Elite - Automation" for "90 day" of "₹ 3000.00 Rupees" with Start Date Today is assigned to the lead with
00:00:23.841
And
the payment is successfully completed via "UPI"
00:00:16.638
And
the lead appears in the client list
00:00:04.510
And
coaches "Meera(VMC001) as Fitness" and "Tuhinangshu(VME0017) as Nutrition" are allocated to the lead
00:00:17.598
And
the coach allocation and task generation entries are visible in the History tab
00:00:08.519
Then
all program tasks are created immediately within the program tenure
00:00:03.853
And
the tasks are assigned to the respective allocated coaches
00:00:01.534
And
again coach is changed to "Michelle(VME002) as Fitness", and after allocation, again new coach "Dhoni(VME005) as Nutrition" is allocated from Package List Page
00:00:25.962
And
the coach allocation and task generation entries are visible in the History tab with New Coaches
00:00:03.632
And
all the Task is transferred to New Coaches
00:00:04.023
@task
@regression
Scenario: Program extension after start date & task impact
Given
a lead exists in the system
00:00:04.160
And
the user is logged into the CRM as "Super Admin"
00:00:08.986
And
the user is on the Leads screen
00:00:13.951
And
Adding Mandatory Details for Payment with :
00:00:26.295
| Best time to Call | 6 PM to 10 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
When
the program "Gold Elite - Automation" for "90 day" of "₹ 3000.00 Rupees" with Start Date Today is assigned to the lead with
00:00:23.335
And
the payment is successfully completed via "UPI"
00:00:16.686
And
the lead appears in the client list
00:00:05.199
And
coaches "Meera(VMC001) as Fitness" and "Tuhinangshu(VME0017) as Nutrition" are allocated to the lead
00:00:13.179
And
the coach allocation and task generation entries are visible in the History tab
00:00:08.683
Then
all program tasks are created immediately within the program tenure
00:00:02.409
And
the tasks are assigned to the respective allocated coaches
00:00:01.473
And
the active program is extended with additional "30" days with reason "Emergency Travel"
00:00:09.253
Then
tasks are created only for the extended period
00:00:03.234
@task
@regression
Scenario: Renewal of Package with same sub-category & task impact
Given
a lead exists in the system
00:00:15.027
And
the user is logged into the CRM as "Super Admin"
00:00:28.239
Error: expect(page).toHaveURL(expected) failed
Expected pattern: /sample-organization\/dashboard/
Received string: "https://development-crm-frontend-888118224544.asia-south1.run.app/sample-organization?uuid=7f84ff70-feb6-45da-95d4-0e430b33c99f"
Timeout: 30000ms
Call log:
- Expect "toHaveURL" with timeout 30000ms
5 × unexpected value "https://development-vmax-sso-888118224544.asia-south1.run.app/auth/login?appId=aGD9Kv81&tenantId=aGD9Kv81&redirectUrl=https%3A%2F%2Fdevelopment-crm-frontend-888118224544.asia-south1.run.app%2Fsample-organization&email=sas%40yopmail.com"
29 × unexpected value "https://development-crm-frontend-888118224544.asia-south1.run.app/sample-organization?uuid=7f84ff70-feb6-45da-95d4-0e430b33c99f"
at ../tests/ui_test/page/DashboardPage.js:65
63 | // method: 'PUT',
64 | // });
) 65 | await expect(this.page).toHaveURL(new RegExp(urlPath));
| ^
66 |
67 | // await fcmTokemAPI;
68 | // await stabilize(this.page);
And
Adding Mandatory Details for Payment with :
0s
| Best time to Call | 10 AM to 2 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
And
the program "Gold Elite - Automation" for "90 day" of "₹ 3000.00 Rupees" with Start Date Today is assigned to the lead with
0s
And
the payment is successfully completed via "UPI"
0s
And
the lead appears in the client list
0s
And
coaches "Meera(VMC001) as Fitness" and "Tuhinangshu(VME0017) as Nutrition" are auto allocated through workflow
0s
And
the coach allocation and task generation entries are visible in the History tab after workflow triggered
0s
Then
all program tasks are created immediately within the program tenure
0s
And
the tasks are assigned to the respective allocated coaches
0s
And
packge is ended from backend with forceful date change to previous day
0s
And
New Package with same sub category is purchased "Platinum Elite - Automation" for "90 day" of "₹ 3000.00 Rupees" with Start Date Today, with "UPI"
0s
And
same coach is allocated to the new package
0s
And
New Task would be generated after Renewal
0s
@task
@regression
Scenario: Renewal of Package with different sub-category & task impact
Given
a lead exists in the system
00:00:14.648
And
the user is logged into the CRM as "Super Admin"
00:00:29.958
And
the user is on the Leads screen
00:00:33.290
And
Adding Mandatory Details for Payment with :
00:00:26.646
| Best time to Call | 10 AM to 2 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
And
the program "Gold Elite - Automation" for "90 day" of "₹ 3000.00 Rupees" with Start Date Today is assigned to the lead with
00:00:23.953
And
the payment is successfully completed via "UPI"
00:00:16.719
And
the lead appears in the client list
00:00:05.624
And
coaches "Meera(VMC001) as Fitness" and "Tuhinangshu(VME0017) as Nutrition" are auto allocated through workflow
00:00:18.219
And
the coach allocation and task generation entries are visible in the History tab after workflow triggered
00:00:08.241
Then
all program tasks are created immediately within the program tenure
00:00:02.447
And
the tasks are assigned to the respective allocated coaches
00:00:01.487
And
packge is ended from backend with forceful date change to previous day
00:00:52.186
+ Show Error
Error: expect(locator).toBeVisible() failed
Locator: locator('[data-testid="package-card"]').filter({ has: locator('p').filter({ hasText: 'Gold Elite - Automation' }) }).getByText('Ended', { exact: true })
Expected: visible
Timeout: 30000ms
Error: element(s) not found
Call log:
- Expect "toBeVisible" with timeout 30000ms
- waiting for locator('[data-testid="package-card"]').filter({ has: locator('p').filter({ hasText: 'Gold Elite - Automation' }) }).getByText('Ended', { exact: true })
at ../tests/ui_test/page/LeadPackagePage.js:2139
2137 | if (tags !== undefined) {
2138 | for (const tag of tags) {
) 2139 | await expect(packageCard.getByText(tag, { exact: true })).toBeVisible();
| ^
2140 | }
2141 | }
2142 | }
And
New Package with same sub category is purchased "Gold Miracle - Automation" for "90 day" of "₹ 3000.00 Rupees" with Start Date Today, with "UPI"
0s
And
different coach is allocated to the new package, "Mamon(VMC101) as Fitness" and "Pradeepa(VMC0202) as Nutrition"
0s
And
New Task would be generated after Renewal
0s