ArvindSelvaraj
commited on
Commit
•
cb27580
1
Parent(s):
77fccdf
Update backend.py
Browse files- backend.py +0 -46
backend.py
CHANGED
@@ -36,52 +36,6 @@ def generate_testcases(user_story):
|
|
36 |
|
37 |
"App we perform testing is Tech360 iOS App"
|
38 |
"Generate as many as testcases possible minimum 10 ,maximum it can be anything"
|
39 |
-
|
40 |
-
Example 1:
|
41 |
-
User Story:
|
42 |
-
Ensure the "Key Details" feature is enabled in the backend.
|
43 |
-
1. Open the Tech 360 app.
|
44 |
-
2. Click on the Search tab.
|
45 |
-
3. Enter the account number and click on Enter.
|
46 |
-
4. Choose the account from the Search result.
|
47 |
-
5. Verify that the "Key Details" button is displayed under the recommendation section.
|
48 |
-
6. Clicking on "Key Details" should navigate to the key details screen.
|
49 |
-
|
50 |
-
Test Case:
|
51 |
-
Test Case: Verify "Key Details" Feature in Tech 360 App
|
52 |
-
Steps:
|
53 |
-
1. Launch the Tech 360 app.
|
54 |
-
2. Go to the Search tab.
|
55 |
-
3. Enter a valid account number and click Enter.
|
56 |
-
4. Select an account from the search results.
|
57 |
-
5. Ensure the "Key Details" button is displayed under the recommendation section.
|
58 |
-
6. Click on "Key Details" and verify that it navigates to the Key Details screen.
|
59 |
-
Expected Result: User is navigated to the Key Details screen successfully.
|
60 |
-
|
61 |
-
Example 2:
|
62 |
-
User Story:
|
63 |
-
Open the Tech 360 app. Go On-Job on a Wi-Fi Ready Preinstall Job. Wait for PHT to finish. Go to the Device Details Page for XB7 and ONU.
|
64 |
-
|
65 |
-
Test Case:
|
66 |
-
Test Case: Verify Device Details Page for XB7 and ONU in Wi-Fi Ready Preinstall Job
|
67 |
-
Steps:
|
68 |
-
1. Launch the Tech 360 app.
|
69 |
-
2. Go On-Job on a Wi-Fi Ready Preinstall Job.
|
70 |
-
3. Wait for PHT to finish.
|
71 |
-
4. Navigate to the Device Details Page for XB7 and ONU.
|
72 |
-
Expected Result: Device details for XB7 and ONU are displayed correctly.
|
73 |
-
|
74 |
-
Example 3:
|
75 |
-
User Story:
|
76 |
-
Open the Tech 360 app. Go On-Job on a Wi-Fi Ready Preinstall Job. Initiate Add/Remove/Swap Flows for ONU and XB7.
|
77 |
-
|
78 |
-
Test Case:
|
79 |
-
Test Case: Verify Add/Remove/Swap Flows for ONU and XB7 in Wi-Fi Ready Preinstall Job
|
80 |
-
Steps:
|
81 |
-
1. Launch the Tech 360 app.
|
82 |
-
2. Go On-Job on a Wi-Fi Ready Preinstall Job.
|
83 |
-
3. Initiate Add/Remove/Swap flows for ONU and XB7.
|
84 |
-
Expected Result: Add/Remove/Swap flows for ONU and XB7 are initiated and processed successfully.
|
85 |
"""
|
86 |
|
87 |
# Combine the few-shot examples with the user story for the model to process
|
|
|
36 |
|
37 |
"App we perform testing is Tech360 iOS App"
|
38 |
"Generate as many as testcases possible minimum 10 ,maximum it can be anything"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
"""
|
40 |
|
41 |
# Combine the few-shot examples with the user story for the model to process
|