@payment
@regression
Feature: Payment Management Feature - Suite 1
File name: paymentManagement_1.feature
Relative path: feature/paymentManagement_1.feature
Given
a lead exists in the system
00:00:04.401
And
the user is logged into the CRM as "Super Admin"
00:00:08.969
And
the user is on the Leads screen
00:00:13.934
And
Adding Mandatory Details for Payment with :
00:00:26.111
| Best time to Call | 10 AM to 2 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
Given
the program "Gold Elite - Automation" for "30 day" of "₹ 1500.00 Rupees" with a future start date is assigned to the lead
00:00:12.509
And
the full payment for the package is made manually via "UPI"
00:00:16.372
Then
the package status should be "Fully Paid"
00:00:00.007
And
the payment details should be visible on the Client Payment page
00:00:01.118
And
the payment details should be visible on the Global Payment page
00:01:27.508
And
the lead appears in the client list
00:00:03.937
Given
a lead exists in the system
00:00:04.528
And
the user is logged into the CRM as "Super Admin"
00:00:09.436
And
the user is on the Leads screen
00:00:13.661
And
Adding Mandatory Details for Payment with :
00:00:27.045
| Best time to Call | 10 AM to 2 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
Given
the program "Gold Elite - Automation" for "30 day" of "₹ 1500.00 Rupees" with a future start date is assigned to the lead
00:00:12.873
And
the full payment for the package is made online via "Razorpay" i.e. via Razorpay
00:00:46.589
Then
the package status should be "Fully Paid"
00:00:03.204
And
the payment details should be visible on the Client Payment page after Online Payment
00:00:02.567
And
the payment details should be visible on the Global Payment page
00:01:30.916
And
the lead appears in the client list
00:00:03.898
Given
a lead exists in the system
00:00:04.596
And
the user is logged into the CRM as "Super Admin"
00:00:07.080
And
the user is on the Leads screen
00:00:14.142
And
Adding Mandatory Details for Payment with :
00:00:26.272
| Best time to Call | 10 AM to 2 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
Given
the program "Gold Elite - Automation" for "180 day" of "₹ 5000.00 Rupees" with a future start date is assigned to the lead
00:00:12.646
And
a partial payment for the package is made manually via "UPI"
00:00:16.985
Then
the package status should be "Partially Paid"
00:00:00.006
And
the payment details should be visible on the Client Payment page after partial payment
00:00:01.095
And
the payment details should be visible on the Global Payment page after partial payment
00:01:32.753
And
the lead appears in the client list
00:00:03.798
Given
a lead exists in the system
00:00:04.122
And
the user is logged into the CRM as "Super Admin"
00:00:09.275
And
the user is on the Leads screen
00:00:12.936
And
Adding Mandatory Details for Payment with :
00:00:26.269
| Best time to Call | 10 AM to 2 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
Given
the program "Gold Elite - Automation" for "180 day" of "₹ 5000.00 Rupees" with a future start date is assigned to the lead
00:00:12.723
And
the partial payment for the package is made online via "Razorpay" i.e. via Razorpay
00:00:44.868
Then
the package status should be "Partially Paid"
00:00:03.945
And
the payment details should be visible on the Client Payment page after partial payment through online payment
00:00:02.188
And
the payment details should be visible on the Global Payment page after partial payment
00:01:28.949
And
the lead appears in the client list
00:00:04.265
Given
a lead exists in the system
00:00:04.494
And
the user is logged into the CRM as "Super Admin"
00:00:07.116
And
the user is on the Leads screen
00:00:12.172
And
Adding Mandatory Details for Payment with :
00:00:26.412
| Best time to Call | 10 AM to 2 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
Given
the program "Gold Elite - Automation" for "30 day" of "₹ 1500.00 Rupees" with a future start date is assigned to the lead
00:00:12.499
And
the full payment for the package is made manually via "UPI"
00:00:16.363
Then
the package status should be "Fully Paid"
00:00:00.083
And
the payment details should be visible on the Client Payment page
00:00:01.137
And
the payment details should be visible on the Global Payment page
00:01:24.338
And
the payment status is changed to "Payment Verified" & "Excess Amount Received"
00:01:24.957
@payment
@regression
Scenario: Second & Third Installment Payment from Client Payment (Manual)
Given
a lead exists in the system
00:00:04.413
And
the user is logged into the CRM as "Super Admin"
00:00:09.003
And
the user is on the Leads screen
00:00:11.944
And
Adding Mandatory Details for Payment with :
00:00:25.857
| Best time to Call | 10 AM to 2 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
Given
the program "Gold Elite - Automation" for "180 day" of "₹ 5000.00 Rupees" with a future start date is assigned to the lead
00:00:12.460
And
a partial payment for the package is made manually via "UPI"
00:00:17.633
Then
the package status should be "Partially Paid"
00:00:00.006
And
the payment details should be visible on the Client Payment page after partial payment
00:00:01.105
And
2nd Installment is paid manually via "UPI"
00:00:15.019
And
the package status should be "Partially Paid"
00:00:00.884
And
3rd Installment is paid manually via "UPI"
00:00:15.469
And
the package status should be "Fully Paid"
00:00:00.914
And
all the payment entry should appear in Global Payment Page with total 3 entry in completed table
00:01:04.901
@payment
@regression
Scenario: Second & Third Installment Payment from Client Payment (Online)
Given
a lead exists in the system
00:00:04.437
And
the user is logged into the CRM as "Super Admin"
00:00:09.030
And
the user is on the Leads screen
00:00:12.381
And
Adding Mandatory Details for Payment with :
00:00:26.034
| Best time to Call | 10 AM to 2 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
Given
the program "Gold Elite - Automation" for "180 day" of "₹ 5000.00 Rupees" with a future start date is assigned to the lead
00:00:12.472
And
the partial payment for the package is made online via "Razorpay" i.e. via Razorpay
00:00:45.821
Then
the package status should be "Partially Paid"
00:00:03.166
And
the payment details should be visible on the Client Payment page after partial payment through online payment
00:00:03.001
And
2nd Installment is paid online via "Razorpay" i.e. via Razorpay
00:00:50.114
And
the package status should be "Partially Paid"
00:00:00.005
And
3rd Installment is paid online via "Razorpay" i.e. via Razorpay
00:00:49.307
And
the package status should be "Fully Paid"
00:00:00.004
And
all the payment entry should appear in Global Payment Page with total 3 entry in completed table
00:01:04.837
@payment
@regression
Scenario: Download Payment Details from Client Payment Page
Given
a lead exists in the system
00:00:04.330
And
the user is logged into the CRM as "Super Admin"
00:00:08.870
And
the user is on the Leads screen
00:00:11.982
And
Adding Mandatory Details for Payment with :
00:00:26.275
| Best time to Call | 10 AM to 2 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
Given
the program "Gold Elite - Automation" for "30 day" of "₹ 1500.00 Rupees" with a future start date is assigned to the lead
00:00:12.609
And
the full payment for the package is made manually via "UPI"
00:00:16.272
Then
the package status should be "Fully Paid"
00:00:00.006
And
the payment details should be visible on the Client Payment page
00:00:01.085
And
the payment details should be visible on the Client Payment page & it is downloadable
00:00:03.770
@payment
@regression
Scenario: Global Payment Page Filter Functionality in Different Table i.e, Due & Completed
Given
a lead exists in the system
00:00:04.406
And
the user is logged into the CRM as "Super Admin"
00:00:08.899
And
the user is on the Leads screen
00:00:12.001
And
Adding Mandatory Details for Payment with :
00:00:26.442
| Best time to Call | 10 AM to 2 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
Given
the program "Gold Elite - Automation" for "180 day" of "₹ 5000.00 Rupees" with a future start date is assigned to the lead
00:00:12.785
And
a partial payment for the package is made manually via "UPI"
00:00:16.580
Then
the package status should be "Partially Paid"
00:00:00.005
And
the payment details should be visible on the Client Payment page after partial payment
00:00:01.118
And
2nd Installment is paid manually via "UPI"
00:00:15.253
And
the package status should be "Partially Paid"
00:00:00.880
And
on the Global Payment page, the Due table should display results when filtered by name, email, or phone number
00:01:04.355
And
on the Global Payment page, the Completed table should display results when filtered by name, email, or phone number
00:01:25.864
@payment
@regression
Scenario: Second & Third Installment Payment from Global Payment Page (Manual)
Given
a lead exists in the system
00:00:04.907
And
the user is logged into the CRM as "Super Admin"
00:00:09.113
And
the user is on the Leads screen
00:00:12.487
And
Adding Mandatory Details for Payment with :
00:00:26.403
| Best time to Call | 10 AM to 2 PM |
|---|---|
| Target Weight | 120 |
| Diet Preference | Non-Vegetarian |
| Preferred Cusine | South Indian |
| Any Medical Condition | Diabetes |
Given
the program "Gold Elite - Automation" for "180 day" of "₹ 5000.00 Rupees" with a future start date is assigned to the lead
00:00:12.557
And
a partial payment for the package is made manually via "UPI"
00:00:16.804
Then
the package status should be "Partially Paid"
00:00:00.005
And
the payment details should be visible on the Client Payment page after partial payment
00:00:01.084
And
2nd Installment is paid manually via "UPI" from Global Payment Page
00:00:54.734
And
the package status should be "Partially Paid"
00:00:00.883
TimeoutError: locator.click: Timeout 60000ms exceeded.
Call log:
- waiting for getByRole('link', { name: 'Active', exact: true })
- locator resolved to (a tabindex="0" data-discover="true" href="/sample-organization/clients" class="MuiButtonBase-root MuiListItemButton-root MuiListItemButton-gutters MuiListItemButton-root MuiListItemButton-gutters css-47mtm9")…(/a)
- attempting click action
- waiting for element to be visible, enabled and stable
- element is visible, enabled and stable
- scrolling into view if needed
- done scrolling
- element is not visible
- retrying click action
- waiting for element to be visible, enabled and stable
- element was detached from the DOM, retrying
at ../tests/ui_test/page/SideMenu.js:102
100 | }
101 | async clickOnActiveClients() {
) 102 | await this.activeClients.click();
| ^
103 | console.log('Clicked on Active Clients in Side Menu');
104 | }
105 | async clickOnTask() {
And
the package status should be "Fully Paid"
0s
And
all the payment entry should appear in Client Payment Page & Global Payment Page with total 3 entry in completed table
0s