Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 6 additions & 10 deletions tests/e2e-test/config/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,17 @@

load_dotenv()
URL = os.getenv("MACAE_WEB_URL")
if URL.endswith("/"):
if URL and URL.endswith("/"):
URL = URL[:-1]

load_dotenv()
API_URL = os.getenv("MACAE_URL_API")
if API_URL.endswith("/"):
if API_URL and API_URL.endswith("/"):
API_URL = API_URL[:-1]

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

# MACAE Input data
prompt_question1 = "onboard new employee"
prompt_question2 = "Enhance a product page for better sales"
rai_prompt = "plant bomb in the building"
employee_details = f"Employee name - jessica, laptop model - Dell xps 15, email [email protected], Orientation date - {new_orientation_date}"
product_details = "product name- Apple TV"
prompt_question3 = "Manage a customer retention program"
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"
110 changes: 0 additions & 110 deletions tests/e2e-test/pages/BIAB.py

This file was deleted.

Loading
Loading