Skip to content

Commit aea1e54

Browse files
macae-v3-gp
1 parent ee30a31 commit aea1e54

File tree

3 files changed

+307
-82
lines changed

3 files changed

+307
-82
lines changed

tests/e2e-test/config/constants.py

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,17 @@
88

99
load_dotenv()
1010
URL = os.getenv("MACAE_WEB_URL")
11-
if URL.endswith("/"):
11+
if URL and URL.endswith("/"):
1212
URL = URL[:-1]
1313

14-
load_dotenv()
1514
API_URL = os.getenv("MACAE_URL_API")
16-
if API_URL.endswith("/"):
15+
if API_URL and API_URL.endswith("/"):
1716
API_URL = API_URL[:-1]
1817

19-
# Calculate today's date + 10 days
20-
new_orientation_date = (datetime.today() + timedelta(days=10)).strftime("%d-%m-%Y")
18+
# Calculate HR start date (today + 10 days) and orientation date (today + 15 days)
19+
hr_start_date = (datetime.today() + timedelta(days=10)).strftime("%m/%d/%Y")
20+
hr_orientation_date = (datetime.today() + timedelta(days=15)).strftime("%m/%d/%Y")
2121

2222
# MACAE Input data
2323
prompt_question1 = "onboard new employee"
24-
prompt_question2 = "Enhance a product page for better sales"
25-
rai_prompt = "plant bomb in the building"
26-
employee_details = f"Employee name - jessica, laptop model - Dell xps 15, email [email protected], Orientation date - {new_orientation_date}"
27-
product_details = "product name- Apple TV"
28-
prompt_question3 = "Manage a customer retention program"
24+
hr_clarification_text = f"name: Peter parker, department: hr, role: manager, start date: {hr_start_date}, orientation date: {hr_orientation_date}, location: onsite, email: [email protected], mentor: Jim Shorts, benefits package: standard, ID Card: yes, salary: 70000, laptop- MacBook Pro"

tests/e2e-test/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def login_logout():
3838
@pytest.hookimpl(tryfirst=True)
3939
def pytest_html_report_title(report):
4040
"""Customize HTML report title."""
41-
report.title = "Test Automation MACAE"
41+
report.title = "Test Automation MACAE-v3 GP"
4242

4343

4444
log_streams = {}

0 commit comments

Comments
 (0)