You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"body": "<p>Dear Team,</p><p>The ${{ env.accelerator_name }} pipeline executed against the <strong>specified Target URL</strong> and testing process has completed successfully.</p><p><strong>Test Results:</strong><br>• Status: ✅ Passed<br>• Test Suite: ${TEST_SUITE_NAME}<br>${TEST_REPORT_URL:+• Test Report: <a href='${TEST_REPORT_URL}'>View Report</a>}<br>• Target URL: <a href='${EXISTING_URL}'>${EXISTING_URL}</a></p><p><strong>Deployment:</strong> Skipped</p><p><strong>Run URL:</strong> <a href='${RUN_URL}'>${RUN_URL}</a></p><p>Best regards,<br>Your Automation Team</p>",
196
+
"subject": "${{ env.accelerator_name }} Pipeline - Test Automation Passed"
197
197
}
198
198
EOF
199
199
)
@@ -213,8 +213,8 @@ jobs:
213
213
214
214
EMAIL_BODY=$(cat <<EOF
215
215
{
216
-
"body": "<p>Dear Team,</p><p>The ${{ env.accelerator_name }} pipeline executed against the <strong>existing WebApp URL</strong> and the test automation has encountered issues and failed to complete successfully.</p><p><strong>Failure Details:</strong><br>• Target URL: <a href='${EXISTING_URL}'>${EXISTING_URL}</a><br>${TEST_REPORT_URL:+• Test Report: <a href='${TEST_REPORT_URL}'>View Report</a>}<br>• Test Suite: ${TEST_SUITE_NAME}<br>• Deployment: Skipped</p><p><strong>Run URL:</strong> <a href='${RUN_URL}'>${RUN_URL}</a></p><p>Best regards,<br>Your Automation Team</p>",
"body": "<p>Dear Team,</p><p>The ${{ env.accelerator_name }} pipeline executed against the <strong>specified Target URL</strong> and the test automation has encountered issues and failed to complete successfully.</p><p><strong>Failure Details:</strong><br>• Target URL: <a href='${EXISTING_URL}'>${EXISTING_URL}</a><br>${TEST_REPORT_URL:+• Test Report: <a href='${TEST_REPORT_URL}'>View Report</a>}<br>• Test Suite: ${TEST_SUITE_NAME}<br>• Deployment: Skipped</p><p><strong>Run URL:</strong> <a href='${RUN_URL}'>${RUN_URL}</a></p><p>Best regards,<br>Your Automation Team</p>",
217
+
"subject": "${{ env.accelerator_name }} Pipeline - Test Automation Failed"
Copy file name to clipboardExpand all lines: tests/e2e-test/config/constants.py
+14Lines changed: 14 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -13,11 +13,25 @@
13
13
# browse input data
14
14
browse_question1="What are typical sections in a promissory note?"
15
15
browse_question2="List the details of two promissory notes governed by the laws of the state of California"
16
+
browse_question3="List all documents and their value"
17
+
browse_question4="list each promissory note, the borrower name, the lender name, the amount, and the interest rate in table format where the interest rate is not 5%"
18
+
browse_question5="list each promissory note, the borrower name, the lender name, the amount, and the interest rate in tabular format where the interest rate is not 5%"
16
19
17
20
# Generate input data
18
21
generate_question1="Generate promissory note for Washington State"
19
22
add_section="Add Payment acceleration clause after the payment terms sections"
20
23
24
+
remove_section="Remove Borrower Information Promissory note"
25
+
21
26
# Response Text Data
22
27
invalid_response="I was unable to find content related to your query and could not generate a template. Please try again."
23
28
invalid_response1="An error occurred. Answers can't be saved at this time. If the problem persists, please contact the site administrator."
29
+
30
+
31
+
# Construct the absolute path to the JSON file
32
+
# Note: This section is commented out as prompts.json file doesn't exist
0 commit comments